Tom Molesworth

Recent Actions

Perl community has moved away from using special predefined Perl variables such as $(, $), $:, $!, $^H, $/ or many others without explicitly commenting their purpose $! is common enough that it shouldn't need comments, though? If the...

In some examples, it's actually an order of magnitude faster than Perl 5. That's astonishing given that Perl 5 is already the fastest dynamic language out there. In other examples, it's more than an order of magnitude slower I appreciate...

okay, just spotted the link to http://beta.nntp.perl.org/group/perl.datetime/2007/01/msg6584.html from XML::Tiny, in the "beware of the leopard" section. Even the original modules don't comply with those rules any more though - Config::Tiny is 5.8+, unless it's rewriting the code on installation....

Not sure how practical the suggestion to rename those modules would be. I would have thought that the 5.004 requirement would rule out anything that uses warnings, for a start. That's Routes::Tiny, Role::Tiny, Try::Tiny and HTTP::Tiny out of the picture...

Wasn't there a project to import all the CPAN distributions into github? If that's still running, seems that it wouldn't be a huge extra step to add links to those repos in metacpan. This would at least provide a fallback...

Isn't the question why your system perl doesn't have List::Utils? That module has been in core for quite some time now. It's cases like that (software package $foo relying on a working perl) that still make a valid point for...

Not using each() seems like good advice in general. I think that second problem unfairly singles out Data::Dumper, though - the bug is in the example code, not Data::Dumper itself. The iterator would also be reset if Dumper() used keys()...

Interesting. It sounded like it was the boilerplate that you were calling out in particular, apologies if I misunderstood. Anyway, seems my experiences are pretty much the opposite - it's the Perl OO code which Just Works. Sure, a typo...

You've mentioned several times that writing objects/classes in C++ is easier than in Perl. Would you be able to provide examples? Generally I find it to be the opposite, to the extent that I have Perl write my C++ code...

> Is your issue about Mo or about non-core dependencies? Neither - it's about modules which use Mo::Inline. Mo itself seems fine, if a module uses it and works, that's great. Non-core dependencies... the more the merrier. I have no...

An upgrade to Mo::Inline appears to be behind this issue for YAML: https://rt.cpan.org/Ticket/Display.html?id=90817 and I think a similar issue was behind this: https://rt.cpan.org/Ticket/Display.html?id=76664 It's not the most pleasant code to be debugging either. It's an interesting idea, but I'm treating...

It's documented in 'Subroutine References as Methods' in perldoc perlobj: You can also use a subroutine reference as a method: $file->$sub(); This is exactly equivalent to writing "$sub->($file)". so I think it's fine to rely on this behaviour. Might be...

To be fair, I think that's only the case for micro-benchmarks that compare Perl 6 **built-in** features with the equivalent features provided by bloated/unoptimized/neglected Perl 5 **modules**. For example, Perl 6's built-in Rat type vs Perl 5's Math::BigRat.

No, actually, that is no longer true. There are cases where Rakudo/MoarVM keeps up with Perl 5 at built-ins, or beats it handily. At built-ins. Check out the benchmarks and see for yourself. There is a little “[Code]” button ne…

The way I understand these results is “here is proof positive that it can”: a plausible promise. There are still seasons’ worth of low-hanging fruit ahead, anywhere you look, so the fact that we have these results now is an encouraging indicator of how high the effort might be able to reach.

Before this point, that was always the claim and the idea, and for some people it was the reasonable expectation, but there was no tangible evidence. It remains to be seen if the promise can be fulfilled, but th…

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community.
Written in Perl and offering the modern features you’ve come to
expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.