Re: How can i make a perl program lauch another perl program that takes options
- From: alex.jamestin@xxxxxxxxx (Alex Jamestin)
- Date: Fri, 29 Jun 2007 19:47:47 +0530
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 <chas.owens@xxxxxxxxx> wrote:
On 6/29/07, Alex Jamestin <alex.jamestin@xxxxxxxxx> 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]
- Follow-Ups:
- References:
- How can i make a perl program lauch another perl program that takes options
- From: Alex.Jamestin+Usenet@xxxxxxxxx
- Re: How can i make a perl program lauch another perl program that takes options
- From: Chas Owens
- Re: How can i make a perl program lauch another perl program that takes options
- From: Alex Jamestin
- Re: How can i make a perl program lauch another perl program that takes options
- From: Chas Owens
- How can i make a perl program lauch another perl program that takes options
- Prev by Date: Re: How can i make a perl program lauch another perl program that takes options
- Next by Date: Re: How can i make a perl program lauch another perl program that takes options
- Previous by thread: Re: How can i make a perl program lauch another perl program that takes options
- Next by thread: Re: How can i make a perl program lauch another perl program that takes options
- Index(es):
Relevant Pages
|