#!/usr/bin/perl -wusestrict;useTest::Moretests=>3;{packageMyParent;subexclaim{"I CAN HAS PERL?"}}{packageChild;useparent-norequire,'MyParent';}my$obj={};bless$obj,'Child';isa_ok$obj,'MyParent','Inheritance';can_ok$obj,'exclaim';is$obj->exclaim,"I CAN HAS PERL?",'Inheritance is set up correctly';