X-Git-Url: http://git.ieval.ro/?p=www-backpacktf.git;a=blobdiff_plain;f=lib%2FWWW%2FBackpackTF%2FItem.pm;h=ed13ed0df922aa527edbe6faf26e469f13302d7c;hp=74b9e953bfbeff8dfe14c4eca62272eb346182cc;hb=fa7f4d7f5222dc5e0137267caf76a04d5fb2300a;hpb=0aaa9b980d349153117dbfa46a4dfae24ace1e25 diff --git a/lib/WWW/BackpackTF/Item.pm b/lib/WWW/BackpackTF/Item.pm index 74b9e95..ed13ed0 100644 --- a/lib/WWW/BackpackTF/Item.pm +++ b/lib/WWW/BackpackTF/Item.pm @@ -3,7 +3,7 @@ package WWW::BackpackTF::Item; use 5.014000; use strict; use warnings; -our $VERSION = '0.001001'; +our $VERSION = '0.002'; sub new{ my ($class, $name, $content) = @_; @@ -35,6 +35,7 @@ WWW::BackpackTF::Item - Class representing item information use WWW::BackpackTF qw/VINTAGE GENUINE UNUSUAL/; use Data::Dumper qw/Dumper/; + my $bp = WWW::BackpackTF->new(key => '...'); my @items = $bp->get_prices; my $item = $items[0]; say 'Name: ', $item->name; @@ -99,7 +100,7 @@ The difference bitween the former price and the current price. 0 if the current =head1 SEE ALSO -L +L =head1 AUTHOR