use Butterfly;
my $b = Butterfly.new;
$b.who-am-i;
=begin comment
Provided that main.p6 and Butterfuly.pm6 are in the same directory,
$ perl6 -I. main.p6
should output "I am Butterfly".
=end
unit class Butterfly;
method who-am-i {
put "I am " ~ $.^name
}