http://qs321.pair.com?node_id=352803

Melanie has asked for the wisdom of the Perl Monks concerning the following question:

Hi there
I am trying to call an external program using a perl script but it doesnt work. Other calls to other programs work fine. When I print out the 'call' and just run it from the command line thr program runs just fine. The path to the program is also definately in my .bashrc file so I shouldnt need the full path etc.
Here is the code
#!/usr/bin/perl $pdbfile = $ARGV[0]; system("procheck $pdbfile 1.0");
Any suggestions would be much appreciated.
Mel