develooper Front page | perl.perl5.porters | Postings from July 2018

Re: Allowing require to return false

Thread Previous
From:
David Cantrell
Date:
July 27, 2018 16:10
Subject:
Re: Allowing require to return false
Message ID:
20180727155419.GA3437@bytemark.barnyard.co.uk
On Wed, Jul 25, 2018 at 10:21:17PM -0700, Karen Etheridge wrote:

> ???I can't think of anything that would break if we no longer required a true
> value at the end of the file scope.
> 
> I can, however, think of some modules that return clever values that might
> break if require() didn't return that particular value.

For example anything under Data::Compare::Plugins::*.

-- 
David Cantrell | Minister for Arbitrary Justice

Thread Previous


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