Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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

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 musing on the Monastery: (4)
As of 2015-07-06 04:20 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 (70 votes), past polls