On 9/9/10 Thu  Sep 9, 2010  9:35 AM, "Jatin" <daveyja...@gmail.com>
scribbled:

> 
>> File::Find's interface is through its package variables.
> [Jatin] So my subroutine that i use with the File::Find's find method
> has access to the package variables ? Correct me if i am wrong.
>>    It is a very
>> bad design and is much regretted, but there is nothing to do about it
>> now.
>>    
> [Jatin] Totally agree , i was not able to co-relate this with the
> fundamental idea of passsing references to other subroutines. But its
> ok. Is there any plans to remedy this design in the future releases of
> perl ?

It is unlikely that the File::Find module will be "fixed" (whether or not it
needs fixing is a matter of opinion). If you do not like the interface,
there are several alternatives that have different interfaces available at
CPAN. Go to <http://search.cpan.org>, enter "File::Find" in the search box,
and explore the possibilities.



-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to