Aspect-Library-Timer

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	  a ton of warnings and then calculating exclusive time wrong.

1.07 Thu 26 May 2011
	- Updating Aspect dependency to 1.00

1.06 Tue 24 May 2011
	- Updated to Module::Install::DSL 1.01
	- Updated to match syntax changes in Aspect 0.98

1.05 Thu 22 Jul 2010
	- Everything looks good, switching to a production version.
	- All totals are now calculated and reported in integer
	  microseconds to prevent floating point corruption.

0.04 Thu 22 Jul 2010
	- Downgrading to Module::Install 1.00 to get a working abstract

0.03 Wed 21 Jul 2010
	- Upgrading to Module::Install::DSL 1.00
	- Adding a new timer aspect Aspect::Library::ZoneTimer
	- Updated advice code slightly to the newer Aspect 0.90 API

inc/Module/Install.pm  view on Meta::CPAN

	my $who  = $self->_caller;
	my $cwd  = Cwd::cwd();
	my $sym  = "${who}::AUTOLOAD";
	$sym->{$cwd} = sub {
		my $pwd = Cwd::cwd();
		if ( my $code = $sym->{$pwd} ) {
			# Delegate back to parent dirs
			goto &$code unless $cwd eq $pwd;
		}
		unless ($$sym =~ s/([^:]+)$//) {
			# XXX: it looks like we can't retrieve the missing function
			# via $$sym (usually $main::AUTOLOAD) in this case.
			# I'm still wondering if we should slurp Makefile.PL to
			# get some context or not ...
			my ($package, $file, $line) = caller;
			die <<"EOT";
Unknown function is found at $file line $line.
Execution of $file aborted due to runtime errors.

If you're a contributor to a project, you may need to install
some Module::Install extensions from CPAN (or other repository).



( run in 0.449 second using v1.01-cache-2.11-cpan-64827b87656 )