Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: qw with anonomous list ref

by Aristotle (Chancellor)
on Oct 29, 2002 at 22:58 UTC ( #208909=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: qw with anonomous list ref
in thread qw with anonomous list ref

Most often I use this to do something to several arrays at once:

my %silly_example; for(\(@couple, @of, @arrays, @here)) { $silly_example{shift @$_}++; splice @$_, 7, 1; push @$_, shift @$_; }
Occasionally it comes it handy for a similar use of map or some such.

Makeshifts last the longest.


Comment on Re^3: qw with anonomous list ref
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2014-09-17 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (70 votes), past polls