Re: How can i make a perl program lauch another perl program that takes options Thanks Chas,
This does work. So there's no problem with perl itself. I guess now,
i'll have to take a look at vplan_all.pl.

The sucky thing is that road is too much of pain to go down. (Though
now i don't think ill be able to sleep without thinking about this :))
Oh well, Bug begets bug :)

Anyways,
thx again for helping out
Alex

On 6/29/07, Chas Owens  wrote:
> On 6/29/07, Alex Jamestin  wrote:
> > Sorry forgot about that.. I'm running it on FreeBSD/i386 accessed via.
> > a terminal prog.
>
> I have a FreeBSD box handy, but I cannot reproduce your error.  Do the
> two scripts below work for you?
>
> /home/cowens>uname -smr
> FreeBSD 4.11-STABLE i386
> /home/cowens>cat t.pl
> #!/usr/bin/perl
>
> system("perl f.pl foo bar baz") == 0
>     or die "perl blew up: $!";
> /home/cowens>cat f.pl
> #!/usr/bin/perl -l
>
> print map { "[$_] " } @ARGV;
> /home/cowens>perl t.pl
> [foo] [bar] [baz]
>

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


