Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Reading in parameters

by ChOas (Curate)
on Mar 13, 2002 at 12:58 UTC ( #151365=note: print w/ replies, xml ) Need Help??


in reply to Reading in parameters

Hi!

In test.pl use the following:

my ( $arg1 , $arg2, $arg3 )=@ARGV;
And they should magically appear, and be usable, in test.pl

And might I advice you to use:
system (test.pl,$number,$name,$type);
If you`re not gonna use the shell, just do it for safety`s sake...

Hope this helps!

GreetZ!,
    ChOas

print "profeth still\n" if /bird|devil/;


Comment on Re: Reading in parameters
Select or Download Code
Replies are listed 'Oldest First'.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2015-07-07 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls