diff options
author | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-07-08 19:39:10 +0000 |
---|---|---|
committer | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-07-08 19:39:10 +0000 |
commit | ed5b203f2ad7603c04f3579b3414d3cee26585fa (patch) | |
tree | 3a8b5beb7ca0086e107cc558e2fcf943f2df5437 /lib/Reaction/UI/Skin.pm | |
parent | 905a0946cb98604ca2eda11557d7a8772acb6212 (diff) | |
download | reaction-ed5b203f2ad7603c04f3579b3414d3cee26585fa.tar.gz reaction-ed5b203f2ad7603c04f3579b3414d3cee26585fa.zip |
$self->blessed sense make no
Diffstat (limited to 'lib/Reaction/UI/Skin.pm')
-rw-r--r-- | lib/Reaction/UI/Skin.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Skin.pm b/lib/Reaction/UI/Skin.pm index 42b3189..436f34c 100644 --- a/lib/Reaction/UI/Skin.pm +++ b/lib/Reaction/UI/Skin.pm @@ -7,6 +7,7 @@ use Reaction::UI::LayoutSet; use Reaction::UI::RenderingContext; use File::ShareDir; use File::Basename; +use Scalar::Util qw(blessed); use aliased 'Path::Class::Dir'; @@ -168,7 +169,7 @@ class Skin which { implements 'widget_class_for' => as { my ($self, $layout_set) = @_; - my $base = $self->blessed; + my $base = blessed($self); my $widget_type = $layout_set->widget_type; return $self->_widget_class_cache->{$widget_type} ||= do { |