Keep It Simple, Stupid | |
PerlMonks |
Re: how to use attributes?by varian (Chaplain) |
on Mar 22, 2007 at 18:34 UTC ( [id://606088]=note: print w/replies, xml ) | Need Help?? |
':Constructor' is not a valid Perl attribute, Just replace those attributes by the word ':method' and your code will run fine.
In Section
Seekers of Perl Wisdom
|
|