in reply to Attributes with new to manage parameters
That way, the other attributes aren't clobbering potential other uses, like what Catalyst does.sub new : Attrs( 'name', 'nick', 'age', 'gender' ) { .... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Attributes with new to manage parameters
by GrandFather (Saint) on Sep 15, 2007 at 09:54 UTC |