You have an error in your code:
exec (`emacs -nw +50 $name`);
The backticks are already a system call, so you are nesting them by putting them inside a call to exec(). Try changing it to:
exec ("emacs -nw +50 $name");
In reply to Re: RFC: newscript.pl , my very first script!
by 1nickt
in thread RFC: newscript.pl , my very first script!
by Darfoune
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |