in reply to Re^4: DNScmd in perl script
in thread DNScmd in perl script
I personally believe that it has already been clearly explained to you: namely "No Such file or directory" means that there's no such file or directory. Where perl can possibly look for it, that is. That you can use the same command from your shell simply means that your shell knows where to look: just give perl the same info. You can either pass through the shell anyway, which I do not recommend (why spawn another process?) or give the full path to the program, which may be sensible in any case: what if someone puts an identically named program in some directory which comes first in your path? (Ok, this is an extremely minor detail...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: DNScmd in perl script
by ajd335 (Novice) on Jul 29, 2008 at 16:00 UTC |