Keeping Your Valuables Under Lock and Key
Consider the following fairly simple class, which creates a lookup object for month names…
Consider the following fairly simple class, which creates a lookup object for month names…
Firstly, I’m not planning on breaking compatibility with Type::Params. The new API would live under a different namespace, such as Type::Params2. The API for Type::Params is currently: use feature ‘state’; use Type::Params qw( compile compile_named_oo ); use Types::Standard -types; sub…
Moose is great, but it does introduce a slight performance hit to your code. In the more than 15 years since it was first released, hardware improvements have made this less of a problem than it once was. Even…
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….
Kind of like Moops but with less hacky parsing….
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 second in a series of posts showing other things you can use…
Perl allows pretty much any value to be evaluated in a boolean context: if ($something) { … } No matter what $something is, it will safely evaluate to either true or false. (With the exceptions of a few edge cases…