jcabraham has asked for the wisdom of the Perl Monks concerning the following question:
my $file = "/tmp/foobar.txt"; #dir perms 777 open (FILE, ">$file") or die "ERROR: can't create $file: $!\n"; print FILE "the quick brown fox, etc.\n" or die "ERROR: $!\n"; close FILE or die "ERROR: closing $file $!\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The old inappropriate ioctl bugaboo again, in mod_perl2
by almut (Canon) on Apr 27, 2010 at 21:59 UTC | |
|
Re: The old inappropriate ioctl bugaboo again, in mod_perl2
by Corion (Patriarch) on Apr 27, 2010 at 21:24 UTC | |
|
Re: The old inappropriate ioctl bugaboo again, in mod_perl2
by ikegami (Patriarch) on Apr 27, 2010 at 21:26 UTC | |
|
Re: The old inappropriate ioctl bugaboo again, in mod_perl2
by swartz (Beadle) on May 12, 2010 at 22:43 UTC |