Thanks, that works.no strict 'refs'; for my $f (@_) { *{"$caller\::$f"} = sub { print "$f\n" }; }
In reply to Re^2: Using import to generate subroutines
by Thilosophy
in thread Using import to generate subroutines
by Thilosophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |