git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
videosite-irssi: Select different canary default value
[videosite.git]
/
videosite
/
NullGetter.pm
diff --git
a/videosite/NullGetter.pm
b/videosite/NullGetter.pm
index
28e62f5
..
3a16c0c
100644
(file)
--- a/
videosite/NullGetter.pm
+++ b/
videosite/NullGetter.pm
@@
-14,14
+14,12
@@
use LWP::Simple qw(!get);
sub new {
my $class = shift;
sub new {
my $class = shift;
- my $self = $class->SUPER::new();
+ my $self = $class->SUPER::new(
+ NAME => 'nullgetter',
+ @_,
+ );
- $self->{'NAME'} = 'nullgetter';
-
- bless($self, $class);
- $self->_prepare_parameters();
-
- return $self;
+ return bless($self, $class);
}
sub get {
}
sub get {