Monthly Shaarli

All links of one month in a single page.

February, 2022

Design Freedom for Teams

Penpot is the first Open Source design and prototyping platform meant for cross-domain teams. Non dependent on operating systems, Penpot is web based and works with open web standards (SVG). For all and empowered by the community.

How can I prevent Perl Moose Read-Only Attributes being set upon a call to new? - Stack Overflow
thumbnail

Use the init_arg attribute configuration (see "Constructor parameters" in Moose::Manual::Attributes):

package SOD::KuuAnalyze::ProdId;
use Moose;

has 'users' => (
    isa => 'ArrayRef[Str]', is => "ro",
    init_arg => undef,    # do not allow in constructor
);
1;
Moose and enum
How To Reset Your MySQL or MariaDB Root Password | DigitalOcean
thumbnail