move module loading to correct location
This commit is contained in:
parent
b49c500701
commit
e222cd97b6
1 changed files with 5 additions and 5 deletions
|
|
@ -15,17 +15,17 @@ use strict;
|
|||
use File::Basename ();
|
||||
use File::Spec;
|
||||
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
use WebGUI::Pluggable;
|
||||
use WebGUI::Session;
|
||||
|
||||
my $webguiRoot;
|
||||
BEGIN {
|
||||
$webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir));
|
||||
unshift @INC, File::Spec->catdir($webguiRoot, 'lib');
|
||||
}
|
||||
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
use WebGUI::Pluggable;
|
||||
use WebGUI::Session;
|
||||
|
||||
$|++;
|
||||
|
||||
# Get options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue