Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-12-21 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (107 votes), past polls