view _test/temp.pl @ 93:0667064553ef

fixed _is_class in activator rewritten IMPL::Config::Resolve new features in the Abstract class
author wizard
date Wed, 28 Apr 2010 17:50:55 +0400
parents 52eeec77504b
children 964587c5183c
line wrap: on
line source

#!/usr/bin/perl
use strict;

package Boz;

sub run {
	my ($self,$code) = @_;
	
	$code->('Boz');
}

sub speak {
	my ($self,$str) = @_;
	print "Boz: $str";
}

sub type {	$_[0]; }

print type Boz;