mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix to place package always at the top
This commit is contained in:
@@ -12,13 +12,14 @@ Full function documentation is in web-lib-funcs.pl.
|
||||
|
||||
=cut
|
||||
|
||||
use lib ("$ENV{'PERLLIB'}/vendor_perl");
|
||||
|
||||
$main::export_to_caller = 1;
|
||||
package WebminCore;
|
||||
use lib ("$ENV{'PERLLIB'}/vendor_perl");
|
||||
require Exporter;
|
||||
@ISA = qw(Exporter);
|
||||
|
||||
# Export global variables to caller
|
||||
$main::export_to_caller = 1;
|
||||
|
||||
# Add functions in web-lib-funcs.pl
|
||||
# Generated with :
|
||||
# grep -h "^sub " web-lib-funcs.pl ui-lib.pl | sed -e 's/sub //' | xargs echo
|
||||
|
||||
Reference in New Issue
Block a user