Help for this page

Select Code to Download


  1. or download this
    ...
    my $obj_temp = "";
    ...
       "$obj_temp" if "$obj_temp";# print the error message
       $obj_temp =~ /(\d+)/;
       warn "Error Number: ".$1." Number of images read: ".0+$obj_temp;
    
  2. or download this
    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 ...