Re: How can i make a perl program lauch another perl program that takes options
- From: chas.owens@xxxxxxxxx (Chas Owens)
- Date: Fri, 29 Jun 2007 10:02:04 -0400
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:
- 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
- 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
- How can i make a perl program lauch another perl program that takes options
- Prev by Date: Re: Splitting a CSV file at a variable number
- 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
|