Perl: the Markov chain saw | |
PerlMonks |
Re^3: Handling multiple output files simultaneously using arrays of filehandles and filenamesby talexb (Chancellor) |
on Jan 21, 2021 at 21:50 UTC ( [id://11127243]=note: print w/replies, xml ) | Need Help?? |
The $! literally tells you what the error is. I have no idea why you would want to throw that information away by not displaying it. The "\n" in the output isn't necessary because die takes care of adding a newline automatically -- but I guess that's a matter of taste. Add one if you like. I never add newlines to die or warn statements.
In Section
Seekers of Perl Wisdom
|
|