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 20:30:02 +0530
Tried that but it still won't work. Doh! Stupid bug :\
I'd run this test script below -
#! /usr/bin/perl
use strict;
use warnings;
my $vplan_parent_path = "\/pdd\/qes\/vsuites\/vplan";
system("perl $vplan_parent_path\/vplan_all.pl") == 0
or die "perl blew up: $!";
And the o/p got is -
vp_all: USAGE: perl vplan_all.pl <Version> <Build> <File_name_to_be_created>
perl blew up: No such file or directory at test2.pl line 8.
Interesting thing is, while perl locates the second perl prog
successfully - it still calls die after that.
Anyways, gotta leave for friday (I'm on the other side of the world :))
Thx,
Alex
.
- 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
- 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
- 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: How can i make a perl program lauch another perl program that takes options
- Next by Date: Test::Class fixture problem
- 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
|