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

Re: Should we bring in Module::Runtime into core?

Thread Previous | Thread Next
Ricardo Signes
December 13, 2016 03:15
Re: Should we bring in Module::Runtime into core?
Message ID:
* Sawyer X <> [2016-12-08T06:31:31]
> I would like to then ask the following question: How plausible is it to
> "fix" Module::Load, considering people might expect its heuristic behavior?

I have made a very hasty pass at this.  The correct fix, I believe, is to add a
load_module routine that does the same things as load(), but never guesses
at whether the user means a file or a module.  This needs a bit more work,
at least, but it might already be mostly correct.

It's in the branch rjbs/module-load-module and this is the commit:


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