in reply to RE: My favorite looping mechanism in Perl is:
in thread My favorite looping mechanism in Perl is:
Uh...why?
Personally, I find for-as-foreach more useful:
for my $i(0..$#array) { #same thing as your C-like for stuff; }
=cut
--Brent Dax
@HPAJ=split("", "rekcaH lreP rentonA tsuJ"); print reverse @HPAJ; #sucky but who cares?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: My favorite looping mechanism in Perl is:
by Anonymous Monk on Jun 24, 2012 at 17:02 UTC | |
by jdporter (Paladin) on Jun 25, 2012 at 00:35 UTC | |
by sauoq (Abbot) on Jun 25, 2012 at 21:29 UTC | |
by Anonymous Monk on Jun 25, 2012 at 13:54 UTC |
In Section
Past Polls