Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Partial success - hijacking a module constructor

by hackmare (Pilgrim)
on Nov 17, 2003 at 21:02 UTC ( [id://307825]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        *GD::Image:: = *SVG::GD::Image::;
    }
    
  2. or download this
    BEGIN {
        *SVG::H:: = *GD::
        *GD::Image:: = *SVG::GD::Image::;
    }
    
  3. or download this
    SVG::GD::Image::new {
       ....create object and bless... as $self
       $self->{_GD_} = SVG::H::Image::new()
    }
    
  4. or download this
     *SVG::H::GD::Image::new = \&GD::Image::new;
     *SVG::H::GD::Image::meths = \&GD::Image::meths;
    
  5. or download this
     *SVG::H::GD::_new = \&GD::_new;
     ...etc for every xs subroutine...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-24 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found