in reply to relaying arguments using system call
I began the second script with:my @args = ($program, $username, $user); system(@args) == 0 or die "system @args failed: $?"
That did it for me but if there is a better way or other comments, I welcome them.my $username = shift @ARGV; my $user =shift @ARGV;
Thanks once again for the help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: relaying arguments using system call
by tachyon (Chancellor) on Mar 21, 2003 at 02:57 UTC | |
by jonnyfolk (Vicar) on Mar 21, 2003 at 12:35 UTC | |
by benn (Vicar) on Mar 21, 2003 at 14:34 UTC | |
by tachyon (Chancellor) on Mar 22, 2003 at 08:06 UTC |