if (builtin::is_weak($obj)) { ... } if (Scalar::Util::isweak($obj)) { ... } if (builtin::is_tainted($obj)) { ... } if (Scalar::Util::tainted($obj)) { ... }
'class'; class Person { field $name :param; method name { $name } method say_hi { say "Hi, I'm $name." } } use Person; my $p = Person->new( name => 'charsbar', ); $p->say_hi; # Hi, I’m charsbar.
The Perl and Raku Conference 2023 (6/11~13, Toronto, CA) https://tprc.to/tprc-2023-tor/ • The Raku Conference 2023 (8/3~4, Riga, Latvia) https://conf.raku.org • Perl and Koha Conference in helsinki 2023 (8/14~18, Helsinki, Finland) https://intro.perlkohacon.fi/