Mango::Attribute - A product attribute
my $attributes = $product->attributes; while (my $attribute = $attributes->next) { print $attribute->name, $attribute->value; };
Mango::Attribute represents a name/value pair about a specific product.
Returns id of the current attribute.
print $attribute->id;
Returns the date the attribute was created as a DateTime object.
print $attribute->created;
Returns the date the attribute was last updated as a DateTime object.
print $attribute->updated;
Gets/sets the name of the user.
print $attribute->name;
Gets/sets the value of the attribute.
print $attribute->value;
Deletes the current item from the provider.
Saves any changes to the attribute back to the provider.
Mango::Object, Mango::Product, Mango::Provider::Products
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.