Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Passing variables into a subroutine

by Corion (Pope)
on Sep 03, 2012 at 17:18 UTC ( #991487=note: print w/ replies, xml ) Need Help??


in reply to Passing variables into a subroutine

You don't tell us how it fails for you (besides the obvious syntax error).

Perl flattens passed parameters into @_. perlsub explains some more of that.


Comment on Re: Passing variables into a subroutine
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-04-18 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (461 votes), past polls