Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 contemplating the Monastery: (7)
As of 2014-08-23 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (174 votes), past polls