Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: hijacking a module constructor

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


in reply to hijacking a module constructor

Could you re-bless the reference?

# $gd defined elsewhere, inititilized to a # GD::Image instance bless $gd, 'SVG::GD::Image';

This may or may not work.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: hijacking a module constructor
by Art_XIV (Hermit) on Nov 03, 2003 at 17:32 UTC

    You may be right! :(

    Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-03-28 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found