Steve Bertrand wrote:

$user->{'username'} = 'steveb'; # in an app

I could then replace it instead with:

$user->username('steveb');

See also Class::Accessor::Faster
and http://search.cpan.org/~spurkis/accessors/

--
Ruud

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to