Turns out we can hack around the broken __PACKAGE__ in older Perls
authorJamie Cameron <jcameron@webmin.com>
Thu, 5 Mar 2009 22:01:07 +0000 (22:01 +0000)
committerJamie Cameron <jcameron@webmin.com>
Thu, 5 Mar 2009 22:01:07 +0000 (22:01 +0000)
WebminCore.pm

index 82ced40..8ad98fa 100644 (file)
@@ -29,9 +29,6 @@ push(@EXPORT, qw($config_directory $var_directory $remote_error_handler %month_t
 # Functions defined in themes
 push(@EXPORT, qw(&theme_post_save_domain &theme_post_save_domains &theme_post_save_server &theme_select_server &theme_select_domain &theme_post_save_folder &theme_post_change_modules));
 
-if ($] <= 5.008004) {
-       print STDERR "WARNING: Webmin needs Perl version 5.008004 or later!\n";
-       }
 $called_from_webmin_core = 1;
 require "web-lib.pl";
 require "ui-lib.pl";