good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Usage: init(class) @ GTKby tcf22 (Priest) |
on Dec 13, 2003 at 22:08 UTC ( [id://314561]=note: print w/replies, xml ) | Need Help?? |
In the CPAN docs it, the calls it init() without any arguments.
Try replacing
with Update: when calling a PACKAGE->method(), the class is passed as the first argument automatically. So that is where Usage: init(class) comes in. Example:
- Tom
In Section
Seekers of Perl Wisdom
|
|