Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Reading in parameters

by derby (Abbot)
on Mar 13, 2002 at 12:55 UTC ( #151363=note: print w/replies, xml ) Need Help??


in reply to Reading in parameters

basicdez,

That was answered in the original thread.

my( $arg1, $arg2, $arg3 ) = @ARGV

You don't really need to assign to argX, perl automatically places the command line args in the @ARGV array for you.

-derby

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2022-05-18 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (70 votes). Check out past polls.

    Notices?