Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How to get ($1, $2, ...)?

by eric256 (Parson)
on Feb 16, 2007 at 18:50 UTC ( #600501=note: print w/replies, xml ) Need Help??


in reply to Re: How to get ($1, $2, ...)?
in thread How to get ($1, $2, ...)?

my @groups; {no strict 'refs'; @groups = map $$_, 1..$#-;}

Nice Educated_foo!

Update: Removed use of grep, didn't notice it in there the first time ;)


___________
Eric Hodges

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2020-01-25 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?