develooper Front page | perl.perl5.porters | Postings from June 2004

File::Find suggested patch

James Freeman
June 30, 2004 02:06
File::Find suggested patch
Message ID:
Hi Nick,

I think there are some valid arguments for formally passing args to the
&wanted sub. For background see

It appears to me this can be achieved by replacing all the calls to:

{ &$wanted_callback }; # protect against wild "next"

with this.

{ my $save=$_; &$wanted_callback($save,$name,$dir); $_=$save };

Kind regards

Dr James Freeman Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About