in reply to Re: matching against failed readline doesn't warn?
in thread matching against failed readline doesn't warn?

perl -we'open FOO, "/dev/null"; print <FOO>'
This one has <FOO> in list context, so an empty list is returned. No warnings when printing an empty list isn't to be taken as a surprise.

Abigail