in reply to through an array in reverse
Backwards in an array? Simple...
use strict; my @j=qw/ a b c d e f g /; while ( my $i=pop @j){ printf "%s\n",$i; }
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: through an array in reverse
by Athanasius (Archbishop) on Aug 06, 2012 at 16:38 UTC | |
by blue_cowdawg (Monsignor) on Aug 06, 2012 at 17:48 UTC |
In Section
Seekers of Perl Wisdom