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

Re: Allowing require to return false

Thread Previous | Thread Next
David Nicol
July 26, 2018 19:54
Re: Allowing require to return false
Message ID:
I may be the only one, but I use this feature.

My modules often end, not with a "1;" which defeats the feature, but with
an invocation of an initialization routine which can stop the whole show by
returning false.

Am I alone in this?

On Wed, Jul 25, 2018 at 8:56 AM David Farrell <>

> Hi P5P folks,
> A feature of Perl I really don't like is requiring modules to return a
> true value.

"At this point, given the limited available data, certainty about only a
very small number of things can be achieved." -- Plato, and others

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About