Mango::Profile - Module representing a user profile
my $profile = $provider->search({ user => 23 }); print $profile->created; $profile->first_name('Christopher'); $profile->update;
Mango::Profile represents a user profile containing user information.
Returns the date and time in UTC the profile was created as a DateTime object.
print $profile->created;
Deletes the current profile.
Gets/sets the first name of the current profile.
print $profile->first_name;
Returns the id of the current profile.
print $profile->id;
Gets/sets the last name of the current profile.
print $profile->last_name;
Saves any changes made to the profile back to the provider.
$profile->password('Red'); $profile->update;
Whenever "update" is called, "updated" is automatically set to the current time in UTC.
Returns the date and time in UTC the profile was last updated as a DateTime object.
print $profile->updated;
Mango::Object, Mango::Provider::Profiles
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.