Perl: the Markov chain saw | |
PerlMonks |
Re: System and CGI - File Created but not the Contentby bart (Canon) |
on Sep 18, 2007 at 10:59 UTC ( [id://639610]=note: print w/replies, xml ) | Need Help?? |
It seems to me like the shell command line you calls with system did work, but that the program you tried to call did not. That way you can indeed end up with an empty file.
Try adding capturing for STDERR too, redirecting it to a file of its own, with 2>$errfile. I bet you will find an error message in it, after you ran the script.
In Section
Seekers of Perl Wisdom
|
|