I keep getting this error, even after I import the module.
Can't locate My/MySqldb.pm in @INC (@INC contains:
I also get this error in another users profile:
Can't locate Net/SSH/Perl.pm in @INC (@INC contains:
The second goes past the My/MySqldb.pm, so the second profile knows where to locate the MySQLdb.How can I get all users to see all the modules? Here is the first lines of my script
use My::MySqldb; # CPAN download
use Data::Dumper; # Standard module
use Net::SSH::Perl; # CPAN download
use Getopt::Long; # Standard module
use Time::Local; #Standard module
my %option = ();
&GetOptions( \%option, "help|h",
"dbg|d", "dbgh|dh");local $dbg = $option{'dbg'} || 0;
local $dbgData = 1;
local $dbgssh = 2;
my $db = 'joe';
my $user = 'joe';
I guess my question would be, how can i import the MySQLdb module globally so that all users using the script I created can use it?In reply to My/MySqldb.pm Module porblem by wjwrightii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |