
amaselli
New User
Feb 24, 2009, 2:40 PM
Post #1 of 3
(1430 views)
|
Accessing parameters in system(@args)
|
Can't Post
|
|
I have ran into the problem of accessing the parameters when I call one perl script with another perl script. Here is the code I have so far. #test.pl $hello = "Meow"; @args=("find.pl","$hello"); system(@args); Now how do I access the parameter $hello inside of 'find.pl', I have tried the following: print $_[0]; print $_[1]; print @_; print $hello; Please help!! Thanks, Andrew
|