Subject: | AsFile doens't die on problem |
When using the AsFile, the module makes no attempt to check the file has been opened sucessfully. This resorts in a cryptic error message when the file is later closed.
The attached patch adds a simple "or die $!" to the open routine. You might want to reimplement this as a croak if you prefer that kind of thing.
Hope this is helpful.
Mark.
Message body not shown because it is not plain text.