Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Help with argument to a subroutine

by shonorio (Hermit)
on May 15, 2006 at 18:43 UTC ( #549571=note: print w/replies, xml ) Need Help??


in reply to Help with argument to a subroutine

I strong recomend you to read POD perlsub, by comand :

perldoc perlsub
Where you could see that any arguments passed in show up in the array @_, and you can use shift to get array values.

Solli Moreira Honorio
Sao Paulo - Brazil

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2020-11-24 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?