Skip to content

Commit

Permalink
Merge b083bf7 into 3d24e59
Browse files Browse the repository at this point in the history
  • Loading branch information
exodist committed Jul 5, 2014
2 parents 3d24e59 + b083bf7 commit 84c02b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Plack/Util.pm
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ package Plack::Util::Prototype;

our $AUTOLOAD;
sub can {
$_[0]->{$_[1]};
return $_[0]->{$_[1]} if Scalar::Util::blessed($_[0]);
goto &UNIVERSAL::can;
}

sub AUTOLOAD {
Expand Down

0 comments on commit 84c02b6

Please sign in to comment.