in reply to Detecting write errors (disk full, bad media)
When you have a question about a function built into Perl, reading the documentation that comes with Perl for that function usually helps.
> perldoc -f print Prints a string or a list of strings. Returns true if successful. ...
So, if the print function does not return a true value, an error happened. Also see perlvar on $!.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Detecting write errors (disk full, bad media)
by bart (Canon) on Jul 01, 2011 at 12:39 UTC | |
by oxone (Friar) on Jul 03, 2011 at 09:16 UTC |