No such thing as a small change | |
PerlMonks |
Re: Exec() argument formatby sacked (Hermit) |
on Jul 25, 2005 at 21:32 UTC ( [id://477982]=note: print w/replies, xml ) | Need Help?? |
Is ComLine.pl executable? What is the value of $! after the failed call? Aside, you'll generally want to use system rather than exec because exec never returns. Instead, it replaces the currently running program with the program passed as the first parameter. If you have any code that follows the call to exec, you should use system instead. Please see perlfunc for details about the return values from exec and system. --sacked
In Section
Seekers of Perl Wisdom
|
|