| 1 | ###################################################################### | ||
| 2 | package Net::Amazon::Request::Publisher; | ||
| 3 | ###################################################################### | ||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use base qw(Net::Amazon::Request); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | ################################################## | ||
| 9 | 2 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 10 | ################################################## | ||
| 11 | 2 | my($class, %options) = @_; | |
| 12 | |||
| 13 | 2 | $class->_assert_options_defined(\%options, | |
| 14 | 'publisher'); | ||
| 15 | |||
| 16 | 2 | $class->_convert_option(\%options, | |
| 17 | 'publisher', | ||
| 18 | 'Publisher'); | ||
| 19 | |||
| 20 | 2 | my $self = $class->SUPER::new(%options); | |
| 21 | |||
| 22 | 2 | $self->_convert_itemsearch(); | |
| 23 | |||
| 24 | 2 | bless $self, $class; # reconsecrate | |
| 25 | } | ||
| 26 | |||
| 27 | 2 | 1; | |
| 28 | |||
| 29 | __END__ | ||