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

Re: array slice?

by zeltus (Beadle)
on Jan 31, 2014 at 14:33 UTC ( #1072853=note: print w/ replies, xml ) Need Help??


in reply to array slice?

aah, I begin to see. After a lookaround, I found some info in perlsub: I see my question is a variant of

my($key, $value) = @_;

(copy a subroutines' parameters into named variables)

I guess this is clear enough... my fud was because my legacy code was dealing with just one parameter, making the code look a bit strange to me, is all


Comment on Re: array slice?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-05-30 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (594 votes), past polls