The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

use strict;
use warnings;

package TGeometry;

use Class::Trait 'base';

our @REQUIRES = qw(
			getCenter
			setCenter
			getRadius
			setRadius
			);

sub area {
	my ($self) = @_;
	# ...
}

sub bounds {
	my ($self) = @_;
	# ...
}

sub diameter {
	my ($self) = @_;
	# ...	
}

sub scaleBy {
	my ($self, $magnitude) = @_;
	# ...	
}

1;

__DATA__