Subject: | Clear things up about $! after unsuccessful read()? |
One wish (Latest version, 2.02):
I would like to have things a bit more clear about Perl's error state
upon unsuccessful return from read().
Let me explain: if read() would die on errors, I could embrace a call to
it into eval block and print out $@; returning undef is not bad, but I
want to have the reason of this error printed to the user.
I tried to print $! and it worked.
Very good, but it think it would be great if you made this behavior
clear: put it in the docs and guaranteed that it won't change in the
future.
Is it possible?
Thanks in advance!