develooper Front page | perl.perl5.porters | Postings from December 2016

Re: File::Find on WSL

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
December 4, 2016 12:30
Subject:
Re: File::Find on WSL
Message ID:
CAHhgV8jTwFkBfOTysRCLfFjpXO3Gsy_iJZKJv6QkSjCk7hgd8Q@mail.gmail.com
On Sun, Dec 4, 2016 at 5:12 AM, Uri Guttman <uri@stemsystems.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.
>

It is possible (but unusual) for /proc not to exist. Dieing is plain wrong,
and warning is more likely to be erroneous than legitimate.

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About