Skip to content

Lexical::Types Integration

Choose a tag to compare

@joesuf4 joesuf4 released this 12 Mar 21:58
· 85 commits to master since this release
db18fb9

All typed lexicals in packages that use sealed will be pre-assigned their type name, so you can just do

use sealed;
my Foo $x; $x will be assigned "Foo" automatically by default

sub bar :Sealed {
$x->foo(); #compiled an invoked a class method
...