Mango::User - A user object
my $user = $provider->search({ username => 'claco' }); print $user->created; $user->password('newpassword'); $user->update;
Mango::User represents a user returned from the user provider.
Returns id of the current user.
print $user->id;
Returns the date the user was created as a DateTime object.
print $user->created;
Deletes the current item from the provider.
Returns the date the user was last updated as a DateTime object.
print $user->updated;
Gets/sets the username of the user.
print $user->username;
Gets/sets the password of the user.
print $user->password;
Saves any changes to the user back to the provider.
Mango::Object, Mango::Provider::Users
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.