Front page | perl.perl5.porters |
Postings from December 2016
Re: File::Find on WSL
Thread Previous
|
Thread Next
From:
Kent Fredric
Date:
December 4, 2016 13:10
Subject:
Re: File::Find on WSL
Message ID:
CAATnKFCVS78HQNm2oUPQMqd6m9GKSHrwRtora==+-Hrj4xva3g@mail.gmail.com
On 4 December 2016 at 17:23, Thorsten Behrens <tbehrens@outlook.com> wrote:
>
> Ø do you want that to be a warn or a die? i would call die as that means
> the $^O is misleading or something made /proc/version disappear. a warning
> does little good there as the typical caller of file::find won't understand
> what is wrong.
>
>
>
> Good question on the die. I think that could be argued either way, but yes,
> /proc/version being gone would be pretty dire, so – sure. I’ll suggest it to
> the perl maintainers over at Ubuntu with the changes you recommend, which
> makes it:
Wouldn't it make more sense to, instead of dying, warn, and simply assume
its not safe to use the nlink optimisation, and set it off?
At least that way the only downside is that things will run slower than usual
on a system that *may* support nlink.
Slow-but-correct is a good compromise between "fast-but-wrong" and "unusuable"
--
Kent
KENTNL - https://metacpan.org/author/KENTNL
Thread Previous
|
Thread Next