in reply to Exception handling for Image::Magick
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Exception handling for Image::Magick
by redlemon (Hermit) on Sep 05, 2004 at 16:58 UTC |