The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
# Tests for overloads (+,-,<,>, etc)
use Test;
BEGIN { plan tests => 1 }
use Time::Piece;
my $t = localtime;
my $s = Time::Seconds->new(15);
eval { my $result = $t + $s };
ok($@, "", "Adding Time::Seconds does not cause runtime error");