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 -w

use strict;
use Test::LeakTrace;

{
	package Base;

	sub hello{
		print "Hello, world!\n";
	}

	package Derived;
	our @ISA = qw(Base);
}

leaktrace{
	Derived->hello();
} -verbose;