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::Base;

sub new {
    my $self = bless {}, shift;
    while (my ($k, $v) = splice @_, 0, 2) {
        $self->{$k} = $v;
    }
    return $self;
}

1;