Acme-POE-Knee
view release on metacpan or search on metacpan
lib/Acme/POE/Knee.pm view on Meta::CPAN
},
};
### check for wrong input ###
for my $key ( keys %args ) {
unless( exists $data->{$key} ) {
print "WARNING! Option $key is not supported in $class!\n";
}
}
### bless the object into the class ###
bless $self, $class;
### now we start adding the data ###
for my $key (keys %$data) {
if ( exists $args{$key} ) {
$self->{$key} = $args{$key};
} else {
$self->{$key} = $data->{$key};
}
}
( run in 1.703 second using v1.01-cache-2.11-cpan-de7293f3b23 )