in reply to How to run a command from Perl

I've seen some tricky commands that act like that. You may have to spend some time experimenting on how to put the options into an array paired up. For instance:
my $command = "srver mgr"; my @options = ("-g $gateway", "-e $enterprise_server", etc, etc); #then system($command, @options);
The pairing needed can sometimes be needed in a specific order too. I had to spend an hour once, experimenting, because some of the options needed pairing, yet other options didn't. Drove me crazy. :-)

I'm not really a human, but I play one on earth. Cogito ergo sum a bum