Mango::Profile - A user profile
my $profile = $provider->search({ user => 23 }); print $user->created; $user->first_name('Christopher'); $user->update;
Mango::Profile represents a profile returned from the profile provider.
Returns id of the current profile.
print $profile->id;
Returns the date the profile was created as a DateTime object.
print $profile->created;
Deletes the current item from the provider.
Returns the date the profile was last updated as a DateTime object.
print $profile->updated;
Gets/sets the first name of the user.
print $profile->first_name;
Gets/sets the last name of the user.
print $profile->last_name;
Saves any changes to the profile back to the provider.
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.