According to my docs, that should be:$image->Read(file=>\*IMAGE) || die "Unable to read image: $!";
Perhaps another pass over the manual would be useful, since your code is quite different from anything I've ever seen in the docs. No results are ever returned in $!.{ my $result = $image->Read(file => \*IMAGE); die $result if $result; }
-- Randal L. Schwartz, Perl hacker
In reply to •Re: Re: Re: Image::Magick resize question
by merlyn
in thread Image::Magick resize question
by emilford
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |