Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: array slice?

by zeltus (Sexton)
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 making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-10-02 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (68 votes), past polls