Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: relaying arguments using system call

by Ineffectual (Scribe)
on Mar 20, 2003 at 23:49 UTC ( [id://244767]=note: print w/replies, xml ) Need Help??


in reply to relaying arguments using system call

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

Replies are listed 'Best First'.
Re: Re: relaying arguments using system call
by jonnyfolk (Vicar) on Mar 21, 2003 at 00:22 UTC
    Thanks for the input, I think I probably have enough info to sort it out for myself, now.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://244767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-04-18 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found