| 1 | |||
| 2 | package Email::Blaster::ConfigNode::Throttled; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings 'all'; | ||
| 6 | use base 'Email::Blaster::ConfigNode'; | ||
| 7 | |||
| 8 | |||
| 9 | #============================================================================== | ||
| 10 | sub new | ||
| 11 | { | ||
| 12 | my ($class, $ref) = @_; | ||
| 13 | |||
| 14 | my $s = $class->SUPER::new( $ref ); | ||
| 15 | |||
| 16 | map { $_ = $class->SUPER::new( $_ ) } @{ $s->{throttle} }; | ||
| 17 | |||
| 18 | return $s; | ||
| 19 | }# end new() | ||
| 20 | |||
| 21 | 1;# return true: | ||
| 22 |