Next Tricks of the Wizards 22

Forced Importing / Aliasing

        use Module 'function';
        sub get { ... }       # Clobbered by LWP::Simple::get
        use LWP::Simple;      # Ouch --- exports `get' by default
        use LWP::Simple ();   # Load, but don't import anything
        BEGIN { *webget = \&LWP::Simple::get }


Next Copyright © 2003 M. J. Dominus