in reply to Re: Warning in objImageMagick
in thread Warning in objImageMagick
... my $obj_temp = ""; $obj_temp = $objImageMagick->Read("dir/$filename"); "$obj_temp" if "$obj_temp";# print the error message $obj_temp =~ /(\d+)/; warn "Error Number: ".$1." Number of images read: ".0+$obj_temp;
Use of uninitialized value $1 in concatenation (.) or string at ... Argument "Error Number: Number of images read: 0" isn't numeric in ad +dition (+) at 1 at ... Warning: something's wrong at ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Warning in objImageMagick
by haukex (Archbishop) on Apr 02, 2016 at 17:37 UTC | |
by Anonymous Monk on Apr 02, 2016 at 17:45 UTC | |
by haukex (Archbishop) on Apr 02, 2016 at 17:59 UTC | |
by Anonymous Monk on Apr 02, 2016 at 18:23 UTC | |
by haukex (Archbishop) on Apr 02, 2016 at 18:39 UTC | |
|