On 12/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Near as I can tell, when looking at perldoc File::Find
> when used as a variable $File::Find::name it supposed to be the
> absolute filename

> The output I'm getting is a relative name, and that is what I've fed
> the find function.  But still the docu seems to indicate it will
> return the absolute (`complete' as above) file name.

I agree; it looks like a bug in the documentation. You should write a
small test program that demonstrates the behavior you're talking
about, then file a bug report with perlbug. If you can include a
documentation patch as well, that's even better.

It might be nice if there were a variable which did have the absolute
path to the filename, as the docs seem to promise; but there may be
some circumstances in which the full path can't be determined by perl
at runtime, due to e.g. directories with restrictive permission bit
settings. So, even though such situations should be rare in the real
world, it sounds like a promise that the code isn't able to keep.

Cheers!

--Tom Phoenix
Stonehenge Perl Training

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


Reply via email to