The latest dev release of Type::Tiny made some changes to its behavior with tie.
Being the kind of person who enjoys playing with shiny new things, I went to see how I could wrangle it into core classes:
```perl use v5.40; use experimental qw<class>;
class Foo { use Types::Standard qw<Int>; field $bar :param; ADJUST {tie $bar, Int, $bar} }
Foo->new(bar => "baz");
Value "baz" did not pass type constraint "Int"
```
Neat!
submitted by /u/m_dango
[link] [comments]
[This article](https://dev.to/jj/creating-new-perl-composite-actions-from-a-repository-template-3c0k) tells you how to use [this repo template](https://github.com/JJ/perl-composite-action-template?tab=readme-ov-file) to create your own. For instance, one like [this one that matches the version in the examples to that in the repo](https://github.com/marketplace/actions/check-version-in-readme-is-latest)
submitted by /u/Sea-Bug2134
[link] [comments]
Creating new Perl composite actions from a repository template
What's in a template for composite actionsJuan Julián Merelo Guervós (DEV Community)
There was a cool neon-sign-style sticker given out at TPRC 24 which has a dart board and a dart in the bullseye, and the dart board is on fire...just curious
submitted by /u/thelastcubscout
[link] [comments]