in reply to Catching "out of memory " error
The usual method for throw and catch of exceptions is to eval, then test $@.
use Errno; eval { # ... }; if ($@ == ENOMEM) { # ... }
Update: Oops. It's not really the little things that bite the worst ;-)
After Compline,
Zaxo
|
|---|