On Thu, Jan 8, 2009 at 14:10, Mike McClain <mike.j...@nethere.com> wrote:
> On Thu, Jan 08, 2009 at 01:52:02AM +0000, Rob Dixon wrote:
>> Chas. Owens wrote:
>> > File::Find::find(
>>
>> File::Find exports find() by default. It is better either to use the import 
>> or
>> to prevent it altogether with
>>
>>   use File::Find ();
>>
>> in the first place.
>>
>> Rob
>
> In what way is it better?
> Thanks,
> Mike

It is better in that File::Find doesn't pollute your name space with
its functions and variables.  I mistakenly thought that File::Find did
not export anything (I guess I am so used to typing $File::Find::name
that I assumed nothing was exported).


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