in reply to Re^2: Pass an "extra' variable to Find::File subroutine
in thread Pass an "extra' variable to Find::File subroutine
sub myfind { my ($code, $source, @args) = @_; find(sub { $code->(@args)}, $source) } myfind(\&Recursive, $source, $addtional_argument)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Pass an "extra' variable to Find::File subroutine
by timtowtdi (Sexton) on Jun 23, 2010 at 05:11 UTC |