Show
Ignore:
Timestamp:
06/15/08 23:01:05 (5 years ago)
Author:
tokuhirom
Message:

r3502@gp (orig r152): tokuhiro | 2006-10-29 20:51:16 +0900

r4580@toco: tokuhiro | 2006-10-29 20:51:09 +0900
avoid to warnings.
oops. added no strict refs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Sledge-View/trunk/lib/Sledge/Plugin/View.pm

    r14067 r14069  
    1717    $pkg->mk_accessors(qw/dont_print_content/); 
    1818 
     19    no strict 'refs'; ## no critic 
    1920    *{"$pkg\::output_content"} = sub { 
    2021        my $self = shift; 
     
    5253 
    5354    $pkg->mk_accessors(qw/response/); 
    54     *{"$pkg\::res"} = *{"$pkg\::response"}; # shortcut 
     55    { 
     56        no warnings 'once'; 
     57        *{"$pkg\::res"} = *{"$pkg\::response"}; # shortcut 
     58    } 
    5559 
    5660    $pkg->add_trigger(