The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
package t::Object::Scalar;
#@ISA = qw( Bogus::Superclass );

use strict;

use Class::InsideOut qw( public register );

public name => my %name; 
public age => my %age;

sub new { register( bless \(my $s), shift) }

1;