| 1 | package WWW::Scraper::Response::generic; | ||
| 2 | |||
| 3 | |||
| 4 | =head1 NAME | ||
| 5 | |||
| 6 | WWW::Scraper::Response::generic - place holder. | ||
| 7 | |||
| 8 | For Response sub-class when no sub-class is declared. Not normally declared by client applications. | ||
| 9 | |||
| 10 | =head1 SYNOPSIS | ||
| 11 | |||
| 12 | =head1 DESCRIPTION | ||
| 13 | |||
| 14 | =head1 AUTHOR | ||
| 15 | |||
| 16 | C<WWW::Scraper::Response::generic> is written and maintained | ||
| 17 | by Glenn Wood, http://search.cpan.org/search?mode=author&query=GLENNWOOD. | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | use strict; | ||
| 22 | use vars qw($VERSION @ISA); | ||
| 23 | use lib './lib'; | ||
| 24 | use WWW::Scraper::Response; | ||
| 25 | @ISA = qw(WWW::Scraper::Response); | ||
| 26 | $VERSION = sprintf("%d.%02d", q$Revision: 1.0 $ =~ /(\d+)\.(\d+)/); | ||
| 27 | |||
| 28 | sub new { | ||
| 29 | my $self = WWW::Scraper::Response::new( | ||
| 30 | $_[3] | ||
| 31 | ,{ | ||
| 32 | } | ||
| 33 | ,($_[0],$_[1],$_[2])); | ||
| 34 | return $self; | ||
| 35 | } | ||
| 36 | |||
| 37 | 1; | ||
| 38 |