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

Re: Traversing succeding sets of an array

by bmcatt (Friar)
on May 14, 2002 at 15:44 UTC ( #166471=note: print w/replies, xml ) Need Help??


in reply to Traversing succeding sets of an array

What about something like this?
do_something_with($elements[$_-1], $elements[$_]) foreach (1 .. $#elements);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2022-01-19 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?