The conventional way of writing your first snippet is:
Perhaps that is adequate and simpler than exception handling.$err = $image->DoSomething or die "Can't do Something: ", $err;
After Compline,
Zaxo
In reply to Re: Exception handling for Image::Magick
by Zaxo
in thread Exception handling for Image::Magick
by redlemon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |