Any way to "inject" an INIT block into a different module?
Ash Berlin
ash_cpan at firemirror.com
Fri May 30 13:39:32 BST 2008
On 30 May 2008, at 13:26, Andy Wardley wrote whilst on crack:
>
> What I think I want to do, in conceptual terms at least, is to have my
> Control module "export" an INIT block/action into the Amp module. I
> know
> I can't do that (at least I don't think I can, can I?) but that's
> the effect
> that I'm after.
>
> Any ideas?
>
> A
Maybe a sub ref in %INC that would run your crack after another module
is loaded? Who knows if that would actually work, but it might be
worth a shot
-ash
More information about the london.pm
mailing list