Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 imbibing at the Monastery: (12)
As of 2014-08-20 17:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (120 votes), past polls