On 6/27/07, Colin Wetherbee <[EMAIL PROTECTED]> wrote:
I have a handler in a module called JetSet::Handler. That module
depends on a number of other modules, which I've tried to include with
'use', with limited success. It seems, sometimes, symbols act just fine
and reload when they should, but
Jonathan Vanasco wrote:
sub handler {
$page= myapp::Page->new();
$page->whatever;
}
So, Page.pm defines an object... do you have Page.pm including other
Exporter-style modules? And, do those work properly?
Thanks.
Colin
I've found Reload to work poorly on the handler sub -- i haven't been
able to figure out why, but it just works poorly.
To get around that, I just have the handler call/wrap other subs.
package myapp;
sub handler {
$page= myapp::Page->new();
$page->whatever;
}
any changes