Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: through an array in reverse

by Athanasius (Abbot)
on Aug 06, 2012 at 16:38 UTC ( #985770=note: print w/ replies, xml ) Need Help??


in reply to Re: through an array in reverse
in thread through an array in reverse

OK, but let’s not forget the reverse function:

#! perl use strict; use warnings; my @j = ('a' .. 'g'); print join("\n", reverse @j);

;-)

Athanasius <°(((><contra mundum


Comment on Re^2: through an array in reverse
Download Code
Re^3: through an array in reverse
by blue_cowdawg (Monsignor) on Aug 06, 2012 at 17:48 UTC
        but letís not forget the reverse function

    TIMTOWTDI exemplified!


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985770]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2015-07-02 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (27 votes), past polls