jshinb2g has asked for the wisdom of the Perl Monks concerning the following question:
--
package Handler;
use Apache2::Reload;
sub handler {
Admin::Test->new();
}
--
package Admin::Test;
use parent 'Admin::Base';
...
--
package Admin::Base:
sub new {
my ( $class, $self, ) = @_;
$self ||= {};
return bless $self, $class;
}
--
When I restart apache, everything works as expected... Now when I change Admin::Test, I get the following error:
Can't locate object method "new" via package "Admin::Test" at Handler.pm
I don't think it's my code. Any help would be appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: apache2::reload and base.pm
by WizardOfUz (Friar) on Feb 17, 2010 at 08:20 UTC | |
by jshinb2g (Initiate) on Feb 17, 2010 at 08:28 UTC | |
by zheka001 (Initiate) on Jan 27, 2011 at 21:17 UTC | |
|
Re: apache2::reload and base.pm
by Anonymous Monk on Feb 17, 2010 at 05:32 UTC | |
by jshinb2g (Initiate) on Feb 17, 2010 at 05:36 UTC | |
by Anonymous Monk on Feb 17, 2010 at 05:44 UTC | |
by tye (Sage) on Feb 17, 2010 at 08:09 UTC | |
by jshinb2g (Initiate) on Feb 17, 2010 at 08:21 UTC | |
by jshinb2g (Initiate) on Feb 17, 2010 at 08:53 UTC | |
by jshinb2g (Initiate) on Feb 17, 2010 at 06:02 UTC | |
by Anonymous Monk on Feb 17, 2010 at 07:14 UTC | |
|