Net-UPCDatabase
view release on metacpan or search on metacpan
UPCDatabase.pm view on Meta::CPAN
package Net::UPCDatabase;
use 5.008;
use Frontier::Client;
our $VERSION = '0.07';
our $DEFAULTURL = 'http://www.upcdatabase.com/rpc';
=head1 NAME
Net::UPCDatabase - Simple OO interface to UPCDatabase.com
=head1 SYNOPSIS
use Net::UPCDatabase;
my $upcdb = Net::UPCDatabase->new;
UPCDatabase.pm view on Meta::CPAN
=head1 FUNCTIONS
=head2 new
$upcObject = Net::UPCDatabase->new;
# .. or ..
$upcObject = Net::UPCDatabase->new( url => $aDifferentUrlThanDefault );
Accepts an B<OPTIONAL> argument, a URL to use instead of the default. Unless you're really sure what you're doing, don't give it a URL. It defaults to 'http://www.upcdatabase.com/rpc', which is probably the right thing.
Returns the object.
=cut
sub new {
my $class = shift;
my $self = bless({}, $class);
my %arg = @_;
$self->{_debug} = $arg{debug} || 0;
UPCDatabase.pm view on Meta::CPAN
=back
=head1 BUGS
Report bugs on the CPAN bug tracker.
Please, do complain if something is broken.
=head1 SEE ALSO
L<http://www.upcdatabase.com/>
=head1 COPYRIGHT AND LICENSE
Copyright 2005-2009 by Dusty Wilson
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
( run in 0.638 second using v1.01-cache-2.11-cpan-454fe037f31 )