Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.

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 scrutinizing the Monastery: (6)
As of 2016-08-29 22:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (409 votes). Check out past polls.