[plug] loop statement needed

Bernard Blackham bernard at blackham.com.au
Thu Mar 11 00:04:25 WST 2004


On Wed, Mar 10, 2004 at 11:52:26PM +0800, Ville Johansson wrote:
> I didn't see a perl version, so here goes:
> 
> for(split(//, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')) { print $_, "\n"; }

How awfully verbose :P

perl -e 'for(A..Z){print"$_\n"}'

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>



More information about the plug mailing list