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

Re: [perl #125833] require ::foo' will try to load /

Thread Previous
Ricardo Signes
January 28, 2016 22:54
Re: [perl #125833] require ::foo' will try to load /
Message ID:
This ticket has fallen off the radar twice, but I am going to get it back on
the radar.  *ping*

As mentioned in the ticket, find the original discussion (from 2012!!) here:

Here's what we should do:

* forbid any leading colons in require or use statements

There is going to be some inconsistency either way, and this is the
inconsistency to pick.  I think that FC's suggestion of making "require ::x" a
compile error[1] is a good idea.

Patches solicited.



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