hi almut,
It's my notebook.
Ok after a reboot
#!/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>";
works.
Found what send me out of memory : a use lib statement ?!
Is that expected behaviour ?
Time to sleep.
Thanl you all :)
Have a nice, nice day !
In reply to Re^6: disable functions if module not installed
by lepetitalbert
in thread disable functions if module not installed
by lepetitalbert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |