Changeset 26039

Show
Ignore:
Timestamp:
12/07/08 14:22:43 (4 years ago)
Author:
gfx
Message:

fix importer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Shika/trunk/lib/Shika/Util/TypeConstraints.pm

    r26038 r26039  
    1717        if (defined $args{'-export'} && ref($args{'-export'}) eq 'ARRAY') { 
    1818            no strict 'refs'; 
    19             *{"$caller\::import"} = \&_import; 
     19            *{"$caller\::import"} = sub{ _import(@_) }; 
    2020        } 
    2121