[plug] loop statement needed
Russell Steicke
r.steicke at bom.gov.au
Wed Mar 10 23:51:49 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"; }
A perl version requires a corresponding python version:
python -c "for i in range(0,26): print chr(ord('A')+i)"
> It's probably not the right language but I can't resist sending in these
> small snippets if code :)
:)
--
Russell Steicke
-- Fortune says:
I am a friend of the working man, and I would rather be his friend
than be one.
-- Clarence Darrow
More information about the plug
mailing list