Then maybe you should turn on warnings!
You're reading from a file you've opened for writing.
open(CODE, "c:\\...\\killp.pl") doesn't execute that file, it opens it for reading. The whole of run_code attempts to replicate do or system.
In reply to Re: print to file not working
by ikegami
in thread print to file not working
by grashoper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |