Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: system call not working

by Melanie (Acolyte)
on May 12, 2004 at 15:56 UTC ( [id://352810] : note . print w/replies, xml ) Need Help??


in reply to Re: system call not working
in thread system call not working

Hi there
I did try the full path. No go Im afraid. But thanks for the thought :)
Mel

Replies are listed 'Best First'.
Re: Re: Re: system call not working
by pbeckingham (Parson) on May 12, 2004 at 16:02 UTC

    Please do the following:

    #!/usr/bin/perl $pdbfile = $ARGV[0]; print "path=$ENV{PATH}\n"; print "procheck $pdbfile 1.0\n"; #system("procheck $pdbfile 1.0");
    Does $pdbfile contain the value you expect?
    Does the path contain the location of procheck?
    Are there any spaces in the value of $pdbfile?