in reply to Re: Objects and references
in thread Objects and references
This way you don't care if $class is a reference or not!package PackageName ; sub new { $class = shift ; return bless {}, PackageName ; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Objects and references
by dragonchild (Archbishop) on Sep 30, 2005 at 20:31 UTC | |
by jeanluca (Deacon) on Sep 30, 2005 at 20:40 UTC | |
by dragonchild (Archbishop) on Oct 01, 2005 at 01:05 UTC |