don't need begin block
This commit is contained in:
parent
ee84cc7611
commit
a8952dc886
1 changed files with 1 additions and 5 deletions
|
|
@ -23,14 +23,10 @@ use File::Copy ();
|
||||||
use File::Find ();
|
use File::Find ();
|
||||||
use File::Path ();
|
use File::Path ();
|
||||||
use File::Spec;
|
use File::Spec;
|
||||||
|
use Image::Magick;
|
||||||
use Storable ();
|
use Storable ();
|
||||||
use WebGUI::Utility qw(isIn);
|
use WebGUI::Utility qw(isIn);
|
||||||
|
|
||||||
BEGIN {
|
|
||||||
unless (eval { require Image::Magick; 1 }) {
|
|
||||||
croak "You must have Image::Magick installed to run WebGUI.\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue