Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
Domain Nodelet?
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 wandering the Monastery: (2)
As of 2023-01-28 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?