Bug#591242: File::File does not call dangling_symlinks if follow => 0

Joachim Breitner nomeata at debian.org
Mon Aug 2 17:28:26 UTC 2010


Hi Jeremiah,

Am Montag, den 02.08.2010, 09:13 -0700 schrieb Jeremiah Mahler:
> I agree.  The dependency that "dangling_symlinks" has on "follow => 1"
> is not reflected in the man page.
> [..]

> Perhaps the documentation could be changed to something like:
> 
>  "dangling_symlinks"
>           If true and a code reference and "follow => 1", will be called with the symbolic link
>           name and the directory it lives in as arguments.  Otherwise, if true
>           and warnings are on, warning "symbolic_link_name is a dangling symbolic
>           link\n" will be issued.  If false, the dangling symbolic link will be
>           silently ignored.

but note that there are cases where the user does not want follow, but
still want dangling_symlinks. So while a change of documentation would
of course be an improvement, a proper fix would be more useful.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20100802/68839ceb/attachment.pgp>


More information about the Perl-maintainers mailing list