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

use Test::More;

BEGIN {
    use_ok( 'Piddy' ) || print "Bail out!\n";
}

my $pid = Piddy->new({pid => $$}); # the test required this, no idea why yet

ok($pid->pid == $$, 'Pid returned a correct value') || diag $pid;

done_testing;