Hi All,

I've inherited a perl application.  Can anyone explain to me the code
below, particularly "find sub {"

TIA, Bill

use File::Find;

@ARGV = '/var/yp/src' unless @ARGV;
my %chambers;
find sub { $chambers{$_} = $File::Find::name . "/passwd" if  -r
$_/passwd"}, @ARGV;


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to