This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Improve rcatline bad fh warnings
authorFather Chrysostomos <sprout@cpan.org>
Mon, 30 Dec 2013 01:11:24 +0000 (17:11 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 30 Dec 2013 01:11:24 +0000 (17:11 -0800)
commitd955f84cfebcbed74088977f0bc7b1162c00a426
tree66f694201d25d43b837ac7c59a660d28ea074569
parent91fc0422e3a3e3aa6b0c35bb1d4d18d03fd35f30
Improve rcatline bad fh warnings

This is not helpful:

append I/O operator() on closed filehandle STDIN at - line 3.
append I/O operator() on closed filehandle STDIN at - line 4.
(Are you trying to call append I/O operator() on dirhandle STDIN?)

That .=<> compiles to a separate op from <> is an implementation
detail, so show ‘readline()’ as we do with <>.
t/lib/warnings/pp_hot
util.c