[Catalyst-commits] r9269 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Sun Feb 8 19:25:10 GMT 2009
Author: rafl
Date: 2009-02-08 19:25:10 +0000 (Sun, 08 Feb 2009)
New Revision: 9269
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Stats.pm
Log:
Clean Time::HiRes imports from Catalyst::Stats.
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Stats.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Stats.pm 2009-02-08 19:25:04 UTC (rev 9268)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Stats.pm 2009-02-08 19:25:10 UTC (rev 9269)
@@ -7,6 +7,8 @@
use Tree::Simple qw/use_weak_refs/;
use Tree::Simple::Visitor::FindByUID;
+use namespace::clean -except => 'meta';
+
has enable => (is => 'rw', required => 1, default => sub{ 1 });
has tree => (
is => 'ro',
@@ -154,7 +156,6 @@
$self->tree->getNodeValue( @_ )->{ t };
}
-no Moose;
__PACKAGE__->meta->make_immutable();
1;
More information about the Catalyst-commits
mailing list