Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

pdcawley (485)

  (email not shown publicly)
AOL IM: pdcawley (Add Buddy, Send Message)

Journal of pdcawley (485)

Friday November 09, 2001
05:38 AM

Fun with local

[ #1212 ]
    local %{"${pkg}::"};
    local $INC{package_as_path($pkg)}

Look ma, I can reload $pkg again! And it appears not to leak memory, but that could just me being over hopeful.

What I'd hoped to do was reload the package in its own little Safe compartment, but it turns out that if you do that bad things start to happen (like, you stop being able to see UNIVERSAL::can)
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.