SPUG: Change a namespace after loading?

Fred Morris m3047 at inwa.net
Wed Apr 11 15:48:12 PDT 2007

May not be exactly what you're looking for, but Perl allows re-blessing. 
Horrible. Evil. I found a legitimate use for it exactly once.



On Wednesday 11 April 2007 15:44, Bill Warner wrote:
> Hi all,
> I want to change the namespace of a class after it's been loaded. Worse, I
> want to continue to use the original namespace, but fill it
> with new code that might refer to the old code in the changed namespace.
> Wore still, I'd rather not edit the old code at all. I want to
> import it as I've always done, but into a new namespace.
> Is there technique or a module for this purpose?
> Thanks,
>   -Bill

More information about the spug-list mailing list