go ahead... be a heretic | |
PerlMonks |
Re^3: close or dieby tilly (Archbishop) |
on Nov 12, 2004 at 02:34 UTC ( [id://407249]=note: print w/replies, xml ) | Need Help?? |
That's actually not complete information since Perl's close is more complicated than the corresponding C call. In particular when you close a file in Perl it also flushes data to the filehandle, which can fail if the filesystem is full. Would you like to get an error message when your file got truncated because the filesystem was full?
In Section
Seekers of Perl Wisdom
|
|