Keep It Simple, Stupid | |
PerlMonks |
Re: relaying arguments using system callby Ineffectual (Scribe) |
on Mar 20, 2003 at 23:49 UTC ( [id://244767]=note: print w/replies, xml ) | Need Help?? |
When a script reads in arguments from the command line, they're put into @ARGV (not @ARG - that's only for passing between subroutines) and you can retrieve them using $ARGV[0] for the first one, etc. (Or use GetOpt)
Most likely your system call is working, and your next script is failing to read in the correct variables, but I can't really tell unless you post more specific code. HTH 'Fect
In Section
Seekers of Perl Wisdom
|
|