From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

# [[[ HEADER ]]]
use RPerl;
use strict;
our $VERSION = 0.001_000;
# [[[ OO INHERITANCE ]]]
# [[[ OO PROPERTIES ]]]
our hashref $properties
= { empty_property => my integer $TYPED_empty_property = 2 };
# [[[ SUBROUTINES & OO METHODS ]]]
sub empty_method {
{ my void::method $RETURN_TYPE };
( my object $self,
my number $foo,
my number_arrayref $bar,
my number_hashref $baz
) = @ARG;
return 2;
}
1; # end of class