in reply to Re: open() destroying my vars?
in thread open() destroying my vars?

My advice would be that you should always check the return value from an open call, but that die is not always the most appropriate response to a failure.

Don't get me wrong - I'm sure that in 95% of cases (at least) is is the best action, but there are definitely times where alternative courses of action (log the error and move on, perhaps) would be more appropriate.

--
<http://www.dave.org.uk>

European Perl Conference - Sept 22/24 2000, ICA, London
<http://www.yapc.org/Europe/>