Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The error:
Can't locate object method "new" via package "User" (perhaps you forgot to load "User"?) at line 173.
Line 173:
my $user = User->new($this);
I have confirmed that the script says "use User;" and that package User contains method "new". I don't understand what could cause the error to persist despite reinstalling fresh code. Appreciate any guidance in solving this problem. Thank you.
v5.6.1 built for i386-linux
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: odd problem with object method
by PodMaster (Abbot) on Nov 30, 2003 at 18:59 UTC | |
by Anonymous Monk on Nov 30, 2003 at 19:34 UTC |