Skip to content
Browse files

use require instead of use

  • Loading branch information...
1 parent 55eaf1c commit 675f4070d17f4891d957274f1e6b61ca723921f5 @evgeni evgeni committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 gen_website
View
2 gen_website
@@ -20,7 +20,7 @@ my $fh;
my $m;
my $conf;
my $state;
-if (eval {use Mirmon::Mirmon; 1 } && -f $masterlist && -f $mirmonconf) {
+if (eval {require Mirmon::Mirmon; 1 } && -f $masterlist && -f $mirmonconf) {
$have_mirmon = 1;
open ($fh, '<', $masterlist) or die "Could not open $masterlist: $!";
$m = Mirmon ->new($mirmonconf);

0 comments on commit 675f407

Please sign in to comment.
Something went wrong with that request. Please try again.