no error message from PERL when i use bash command
hi,
I am using ubuntu 9.10 and perl5.10.1. I have a strange problem. I am trying to call a program (using bash command) from perl. for eg `/home/nitin/software/clustalw filename`; I knew that there is no file "clustalw" in this path. I expect perl to warn "No such file or directory" But in my case, there is no error message or warning message. Kindly help me to solve this. visva |
It's up to you to grab the return code from the call and do something with it
cheers |
See the qx section here http://perldoc.perl.org/perlop.html#...Like-Operators for a full explanation plus example howtos.
|
All times are GMT -5. The time now is 09:49 PM. |