in reply to
Creating files
Don't forget to check the return value of your
open
call. To wit:
open FILE, ">bob.txt" or die "Could not open file: $!\n";
[download]
$!
is a special variable that returns the error. It'll tell you why you couldn't open the file.
Comment on
Re: Creating files
Download
Code
In Section
Seekers of Perl Wisdom