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 |