Fix to place package always at the top

This commit is contained in:
iliajie
2022-11-16 23:29:22 +02:00
parent 4c0ac21dc7
commit 023f1b88b1

View File

@@ -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