Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: hijacking a module constructor

by broquaint (Abbot)
on Nov 03, 2003 at 17:16 UTC ( [id://304168]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: hijacking a module constructor
in thread hijacking a module constructor

This can be done, but I think it may be saner to go down another route as suggested by Corion and perrin ...
$GD::{$_} = $SVG::GD::{$_} for grep !/::$/, keys %SVG::GD::;
This has a similar effect to the symbol table glob aliasing, but only affects the GD:: symbol table. Again, use with caution as this is even more hackish than the glob alias.
HTH

_________
broquaint

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-16 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found