$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
-sub _get_hashref {
+sub _get_coderef {
my $val = $_[1]->( $_[0] );
unless ( _CODE($val) ) {
my $name = $attr->name;
return sub {
my ($self, @args) = @_;
- _get_hashref( $self, $reader, $name )->(@args);
+ _get_coderef( $self, $reader, $name )->(@args);
};
}
my $name = $attr->name;
return sub {
my ($self, @args) = @_;
- _get_hashref( $self, $reader, $name )->($self, @args);
+ _get_coderef( $self, $reader, $name )->($self, @args);
};
}