noinc.pm ----------- package noinc; @INC = grep { $_ ne '.' } @INC; 1;
And then
PERL5OPT=-Mnoinc make test
no lib '.';
or PERL5OPT=-M-lib=.
]]>Just tried to look at my failures, but I hit two problems:
* The author page says I have two failing modules, but the module page only lists one with my name on it.
* The link to the failure log gives me a 404.
Thx for all your hard work!
]]>In other words, since the perl5porters is a small, focused team of volunteers and (from what I understand) the perl internals are too much of a mess to be able to allow for such a large project to be undertaken, and especially considering that a lot (most? all?) of Perl 5 in production isn't going to use it anytime soon, I don't think we'll (ever) see such a system being implemented in core perl.
]]>But is anyone likely to implement "class" syntax in Perl 5 anytime soon? If not, it's just a pipe dream, isn't it?
Finally, I note that the "method" syntax is already available in Perl 5 via either Method::Signatures or (my preference) Function::Parameters as it acknowledges that functions (subroutines) outside objects are important too. But just as subroutine signatures are finally available in Perl 5.26, method signatures would be good too. Subroutine signatures, btw, are the big thing I've wanted in Perl 5 for 10 years, so I'm already very happy:-)
]]>thank you for your github code.
Maybe @_ contains class name because shift is after of it?
Do you think this is good code for them?
I also want to hear good points about my code, adding to negative points.
https://www.perl.com/article/25/2013/5/20/Old-School-Object-Oriented-Perl/
I have had to do above in so called closed systems some time ago even wrote a module(Orignal) to help me out is such situations.
If I had to work on such a closed system today with and it had up to date perl I would go with Class::Struct as that is part of core
Buzzard, Buzzard. If you go around accusing people of not knowing the difference between empathy and sympathy, maybe you should not be making the same mistake. 🙂
]]>