Well, i tried both the options -

system("perl vplan_all.pl", "5.6",  "24.0") == 0
    or die "blah";

or

system( "perl", "vplan_all.pl",  "5.6",  "24.0") == 0
    or die "blah";

I think when perl -> shell -> perl . Here perl doesn't seem to
understand that vplan_all.pl is the script name and 5.6 and 24.0 are
options to be passed.

The exact same text ie. perl vplan_all.pl 5.6 21.0 works fine when i
just run it from the command line. Confusing! :\


On 6/29/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 6/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
snip
> I've tried bypassing the shell [ system(xxx,xxx,xx)] but that doesn't
> seem to help.
snip

Hmm, what OS are you using?  And by system(xxx,xxx,xx) do you mean

system("perl vplan_all.pl", "5.6",  "24.0") == 0
    or die "blah";

or

system( "perl", "vplan_all.pl",  "5.6",  "24.0") == 0
    or die "blah";


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to