in reply to Re: Propose addition to use warnings?
in thread Propose addition to use warnings?

Do you mean Perl should warn when you pass a closed filehandle to a subroutine?

Yes, that's what I was asking about, but reading davido's reply makes me think that may not be a reasonable expectation. Perl just usually spoils me by telling me when I'm trying to do something that's probably stupid, and this is a case where I was and it didn't. :-)

Just another Perl hooker - will code for food
  • Comment on Re^2: Propose addition to use warnings?

Replies are listed 'Best First'.
Re^3: Propose addition to use warnings?
by stevieb (Canon) on Nov 28, 2016 at 18:50 UTC

    Well to perl's credit, it *did*, but just later on, and inside of an edge-case conditional statement ;)