more useful options | |
PerlMonks |
Re^2: Exception handling for Image::Magickby redlemon (Hermit) |
on Sep 05, 2004 at 16:58 UTC ( [id://388631]=note: print w/replies, xml ) | Need Help?? |
the problem here is that I::M methods return a non-empty string on failure. So that would be:
But sometimes methods are *meant* to return someting and then you have to test agains context to see if it's an error or not. --
In Section
Seekers of Perl Wisdom
|
|