Object::eBay::Attribute - Represents an item attribute
# assuming that $item is an Object::eBay::Item object my $attribute = $item->attributes->find(10244); print "The condition is $attribute\n"; # "The condition is New" if ( $attribute == 24227 ) { print "This is a Sega Genesis game\n"; }
eBay associates key-value pairs (attributes) with certain auctions. An Object::eBay::Attribute object represents a specific attribute of an auction.
Returns an ID number for the type of this attribute.
Returns an ID number for the value of this attribute. This method is called when the attribute object is used in numeric context.
Returns a string for the value of this attribute. This method is called when the attribute object is used in string context.
Michael Hendricks <michael@ndrix.org>
Copyright (c) 2008 Michael Hendricks (<michael@ndrix.org>). All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Object::eBay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Object::eBay
CPAN shell
perl -MCPAN -e shell install Object::eBay
For more information on module installation, please visit the detailed CPAN module installation guide.