Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't locate Common.pm

Status
Not open for further replies.

biry

Technical User
Nov 5, 2004
127
0
0
CA
hi, i'm newish to perl and was running a script someone wrote and i got this error message:

Can't locate Common.pm in @INC (@INC contains: ../lib C:/Perl/lib C:/Perl/site/l
ib .) at symchange_auto.pl line 32.
BEGIN failed--compilation aborted at symchange_auto.pl line 32.


... this is part of the pl file:

Code:
use strict;
use Sys::Hostname;
use DBI;
use HTTP::Request;
use LWP::UserAgent;
use Time::Local;
use FileHandle;
use Getopt::Std;

use lib '../lib';

use Common qw(loadscheme logerr log_and_die setlog timestamp handler
	loadconf sendmail);

Any thought on this error?

thanks!
 
problem solved, it was a custom Common.pm file, i just put it in a lib folder, up 1 in the dirTree and all is well, thanks for reading this ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top