Skip to content

Commit

Permalink
Simpify code
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Sep 19, 2019
1 parent cc6dd82 commit 996bc91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Class/Simple/Cached.pm
Expand Up @@ -92,10 +92,10 @@ sub AUTOLOAD {
my $func = $param;
my $object = $self->{'object'};

if($param =~ /^[gs]et_/) {
# $param = "SUPER::$param";
return $object->$func(\@_);
}
# if($param =~ /^[gs]et_/) {
# # $param = "SUPER::$param";
# return $object->$func(\@_);
# }

my $cache = $self->{'cache'};

Expand Down

0 comments on commit 996bc91

Please sign in to comment.