in reply to RFC: The Poor Man's Accessor Filter
Inside-out objects are cool and all... but the future looks like Moose.
{ package Bar; use Moose; has name => is => 'rw'; }
Note: The above is a minimal attribute declaration with accessors generated. If you leave off the is part, i.e.
you'll get the attribute but no accessors.has 'name';
|
|---|