diff Lib/IMPL/Web/Application/ControllerUnit.pm @ 280:c6d0f889ef87

+IMPL::declare now supports meta attributes *bugfixes related to the typeof() operator
author cin
date Wed, 06 Feb 2013 02:15:48 +0400
parents 4d0e1962161c
children 77df11605d3a
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application/ControllerUnit.pm	Mon Feb 04 17:16:45 2013 +0400
+++ b/Lib/IMPL/Web/Application/ControllerUnit.pm	Wed Feb 06 02:15:48 2013 +0400
@@ -239,7 +239,7 @@
     my $methods = $this->class_data(CONTROLLER_METHODS);
     
     my $namespace = $this->unitNamespace;
-    (my $module = typeof $this) =~ s/^$namespace//;
+    (my $module = typeof($this)) =~ s/^$namespace//;
     
     my %smd = (
         module => [grep $_, split /::/, $module ],