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

# Tests for overloads (+,-,<,>, etc)
use strict;
use Test::More tests => 1;
my $t = localtime;
my $s = Time::Seconds->new(15);
eval { my $result = $t + $s };
is($@, "", "Adding Time::Seconds does not cause runtime error");