On Thu, Sep 9, 2010 at 12:35, Jatin <daveyja...@gmail.com> wrote:
>
>> 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 ?
snip

Well, Perl 6 doesn't have File::Find, so that is a fix in and of
itself.  In Perl 5 File::Find will never be "fixed".  Too much code
realies on the existing interface, but they are alternatives to
File::Find on CPAN.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--
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