Hello,

My question is simple. I have object of already authenticated user in $u by
using

my $u = $c->user()

So, getter $u->email reflects actual email. How then can I update already
loaded user object? E.g. i need something like:

print $u->email; # old@email

$u->email = 'new@email';

print $u->email; # new@email

How to achieve this simple way? Do I need to update user rec in DB then
re-load user from DB? Then, which is the simplest way to re-trieve user
again?

Thank you.
Sergey
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to