Re: How can i make a perl program lauch another perl program that takes options



On 6/29/07, Alex Jamestin <alex.jamestin@xxxxxxxxx> wrote:
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


I don't think the problem is in vplan_all.pl. I looked back at your
original code and noticed a bug:
system( "perl vplan_all.pl 5.6 24.0")
or die "Couldn't run the vplan_all.pl script: $!\n";

This should be

system( "perl vplan_all.pl 5.6 24.0") == 0
or die "Couldn't run the vplan_all.pl script: $!\n";
.



Relevant Pages

  • float bug? perl 5.8, DBI and oracle 10.2.0
    ... I am having trouble with a tricky little beast that smells like a bug, ... I noticed this problem while upgrading a large software from perl 5.6.2 to ... I still don't know where to locate the bug. ... using an integer value instead of a float. ...
    (perl.dbi.users)
  • Re: Perl qx// broken with OpenVMS 8.x
    ... This is perl, v5.8.6 built for VMS_AXP ... I'm looking for information about the qx// bug being logged and a time ... The qx operator is a special quoting operator that spawns a command to ... script suppresses error messages and does not do any error checking, ...
    (comp.os.vms)
  • POK Flag Weirdness wth binary files
    ... and found an extremely strange workaround here: ... I have written a short script reproducing the problem (under Perl ... Is it a bug in Perl, a bug in Crypt::Rijndael, or a bug in my ... Wayne Myers ...
    (comp.lang.perl.misc)
  • Re: Perl CGI.pm POST_MAX problem in FC7 - when will latest version be available in archives?
    ... the CGI script will peg the CPU until the web server ... new upstream perl release will need to include an updated CGI.pm. ... This could get updated via a patch. ... patch CGI.pm to avoid the specific bug you're encountering (CPAN bug ...
    (Fedora)
  • Re: Bug in DBD::Oracle v 1.21 ?
    ... Unless this is not an exact copy, there appears to be a bug in your ... I am trying to write to an Oracle Stored procedure defined as: ... In perl ... ... For each execution, I get no errors and the queue is ...
    (perl.dbi.users)