X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FWWW%2FBackpackTF%2FItem.pm;h=f2c8cf755cee4790f221daa3a4b0bf8f2f91a1c5;hb=3a7fbf42bada7fe08e26c3c5c8c822f871bcb1c1;hp=7c5d57f5c3683600c34033dd393f47420a190ed0;hpb=bd910ad7ba680507495e5210dac167484bbdde7c;p=www-backpacktf.git diff --git a/lib/WWW/BackpackTF/Item.pm b/lib/WWW/BackpackTF/Item.pm index 7c5d57f..f2c8cf7 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.001'; +our $VERSION = '0.002001'; 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 @@ -107,7 +108,7 @@ Marius Gavrilescu, Emarius@ieval.roE =head1 COPYRIGHT AND LICENSE -Copyright (C) 2014, 2015 by Marius Gavrilescu +Copyright (C) 2014-2017 by Marius Gavrilescu This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or,