In the simplest case, use Fatal qw( :void close ); would work for this, but I strongly doubt it, and in any case I can’t think of a good way to purposefully trigger a close failure in order to test it.And yes... the loop device rocks :)
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
In reply to Re^3: How do I make the garbage collector throw an exception when it fails to auto-close a filehandle?
by polettix
in thread How do I make the garbage collector throw an exception when it fails to auto-close a filehandle?
by Aristotle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |