SPUG: Change a namespace after loading?

Joshua ben Jore twists at gmail.com
Sun Apr 15 00:31:40 PDT 2007

On 4/14/07, Jacinta Richardson <jarich at perltraining.com.au> wrote:
> easily by moving Deprecated, changing it's package name only and having a
> pseudo-Deprecated module which sat in the middle and effectively did dispatch.
> In fact, it may be possible to get it to tie variables appropriately too.
> Sounds like fun.

If *this* were sufficient then you could even do this bloodlessly with
an @INC hook. You'd load something which added its hook to @INC and
then later attempts to use() the Deprecated module could just go
elsewhere, magiclike.


More information about the spug-list mailing list