in reply to Re^7: unquoted string error??!!
in thread unquoted string error??!!
However, whether it’s a bug only in his code, or a bug in the runtime, is a perfectly reasonable point. Anything that is absolutely required to guarantee correct behaviour is too important to be left up to programmers to forget to do correctly, and so should so should be taken care of for them.
We’ve considered a DESTROY method that would detect and report this, fatally if autodie is enabled. There is never any reason to ignore the return of open, nor likewise that of close, because doing so makes your program just as unacceptably unreliable as a program that has “only a small” race condition would be.
If Perl is going to go sneaking behind your back to run a close, then it needs to do it the right way, not the wrong way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: unquoted string error??!!
by Anonymous Monk on May 04, 2011 at 23:44 UTC |