On 9/9/10 Thu Sep 9, 2010 9:49 AM, "Jatin" <[email protected]>
scribbled:
>
>> The callback is printing the value of $File::Find::name (which, again,
>> is set by the File::Find::find function before the callback is
>> called).
>>
>>
>>
> [Jatin] Chas , when you say that the File::Find's find method sets its
> name variable before the callback is called , Do you mean that this
> "name" variable is set by the find function to the currently referenced
> file or directory ? All the three variables namely $_ , $dir and $name
> are set with values corresponding to the currently referenced file ?
The best way to find answers to questions about File::Find or any other
module is to read the documentation that comes with the module.
Enter
perldoc File::Find
at a command-line prompt or
<http://search.cpan.org/~jesse/perl-5.12.2/lib/File/Find.pm>
in a browser.
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/