Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a quoting quandry question ;)
I have a command that works fine on the command line of a unix shell...
> doorway $user@$host.$display 'MSG Hello user.'
my $command = "doorway"; my $location = "$user\@$host.$display"; my $arg = "'MSG Hello user'"; my $ret = system($command, $location, $arg,);
Thanks for any help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: works on command line but not in script
by blakem (Monsignor) on Nov 30, 2001 at 05:31 UTC | |
|
Re: works on command line but not in script
by qslack (Scribe) on Nov 30, 2001 at 08:32 UTC |