[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-beginners
Subject:    Re: Manipulating the symbol table
From:       85.144.210.174
Date:       2009-06-28 14:23:28
Message-ID: 20090628142330.17802.qmail () lists ! develooper ! com
[Download RAW message or body]

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-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic