I have a problem that I can't resolve even with my fellow perlmonks.
The post on PM is this one
I wrote a script width some functions that uses PerlMagick and some not. The script works
nice, the problem appears when I start triying to disable the 'Perlmagick functions' of the script if the Image::Magick is not installed.
Test snippets like :
Code: Select all
#!/usr/bin/perl -w
use strict;
use warnings;
eval { require Image::Magick };
my $is_Magick = $@ ? 0 : 1;
print "Content-type: text/html; charset=ISO-8859-1\n\n";
print "<h1>$is_Magick</h1>";
from the logs :
Code: Select all
Deep recursion on subroutine "Image::Magick::AUTOLOAD" at Image/Magick.pm line 42.
Same effect on a clean debian virtual machine.
If anyone has a clue !?
Thanks.
Have a nice day.