Applying Operators to Coderefs
In algebra, there’s this pretty funky concept: And I was thinking if $f and $g were coderefs, what could $f + $g be?…
In algebra, there’s this pretty funky concept: And I was thinking if $f and $g were coderefs, what could $f + $g be?…
Today I released Zydeco::Lite, a re-implementation of Zydeco but just using standard Perl syntax. So for example, class { … } becomes class(sub { …});. This has the advantage of much faster compile time, similar run time speed, fewer dependencies,…
So I like to keep local copies of my blogs.perl.org blog posts as Atom entries, but noticed yesterday that I had a few gaps in my collection. The Atom feeds offered by blogs.perl.org only have the most recent articles though,…
Prompted by a recent question on PerlMonks, I’ve been thinking a bit recently on marshalling and unmarshalling Perl objects. If you’re happy using Data::Dumper’s format, then it’s trivial, but today we’re looking at JSON. If you just want to encode…
Mom is a shortcut for creating Moo classes (and roles). It allows you to define a Moo class with the brevity of Class::Tiny. (In fact, Mom is even briefer.) A simple example:…
Overall, I think the Perl 7 announcement is great news. I only have one small objection:…
I was recently shown this puzzle: There are some things I found a little unclear about it. For example, should the following two circles count as being connected? There is a line between them, even if it’s interrupted by a circle. And what about these two circles? Are they connected? Again, there’s a diagonal line … Continued
Technically, I already announced it, but now I’ve renamed it. MooX::Pression is now called Zydeco. Moops had a memorable name, and I think the naming really helped it gain a following. MooX::Pression was just meh. So now it’s Zydeco. Zydeco…
The test suite for MooX::Pression used to run in 79 seconds on my laptop. Now it’s at 10 seconds. And no, I didn’t cut out any tests — I switched from using Keyword::Declare to a combination of Keyword::Simple and PPR….
Perl has some really great community websites. But a drawback to this is that the Perl community is centred around a few domain names, which means that it isn’t as visible as some other languages. Most projects use github for…
Kind of like Moops but with less hacky parsing….
Type::Tiny 1.8.0 (1.008000) was released today. Type::Tiny 1.8.0 on MetaCPAN Type::Tiny website (NEW!) The new features are pretty minor. Most of the improvements are in documentation and testing. Totally rewritten manual/tutorial. Every issue on RT has been handled. Bigger test…
I’ve been trying to update the docs for Type::Tiny and want feedback. Is there anything that’s hard to understand, or needs explaining more? New version Old version In particular, it’s Type::Tiny::Manual and the other pod pages in that namespace that…
MooX::Press is a quick way of building a bunch of Moo roles and classes in one use statement. The most basic example would be: package MyApp { use MooX::Press class => [‘Foo’, ‘Bar’]; } my $thing1 = MyApp::Foo->new(); my…
Type::Tiny is probably best known as a way of having Moose-like type constraints in Moo, but it can be used for so much more. This is the seventh in a series of posts showing other things you can use…
Type::Tiny is probably best known as a way of having Moose-like type constraints in Moo, but it can be used for so much more. This is the sixth in a series of posts showing other things you can use…
Type::Tiny is probably best known as a way of having Moose-like type constraints in Moo, but it can be used for so much more. This is the fifth in a series of posts showing other things you can use…
Type::Tiny is probably best known as a way of having Moose-like type constraints in Moo, but it can be used for so much more. This is the third in a series of posts showing other things you can use…
Type::Tiny is probably best known as a way of having Moose-like type constraints in Moo, but it can be used for so much more. This is the third in a series of posts showing other things you can use…
Type::Tiny is probably best known as a way of having Moose-like type constraints in Moo, but it can be used for so much more. This is the second in a series of posts showing other things you can use…