Your IP : 216.73.216.1


Current Path : /usr/share/doc/perl-Test-LeakTrace/example/
Upload File :
Current File : //usr/share/doc/perl-Test-LeakTrace/example/method_cache.pl

#!/usr/bin/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;