Created
July 1, 2012 20:21
-
-
Save ynonp/3029472 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Foo; | |
use Moose; | |
sub DEMOLISH { warn 'Foo::Demolish' } | |
sub BUILD { warn 'Foo::Build' } | |
package Bar; | |
use Moose; | |
extends 'Foo'; | |
sub DEMOLISH { warn 'Bar::Demolish' } | |
sub BUILD { warn 'Bar::Build' } | |
package main; | |
my $b = Bar->new; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment