From 57cee51cc4da408f82f4c68fb8419887ce16ade3 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Mon, 11 Jul 2011 10:48:38 +0200 Subject: can't log at this point when we attach a method Signed-off-by: franck cuny --- lib/Net/HTTP/Spore/Meta/Method/Spore.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Net/HTTP') diff --git a/lib/Net/HTTP/Spore/Meta/Method/Spore.pm b/lib/Net/HTTP/Spore/Meta/Method/Spore.pm index 1cea574..9ebe5f0 100644 --- a/lib/Net/HTTP/Spore/Meta/Method/Spore.pm +++ b/lib/Net/HTTP/Spore/Meta/Method/Spore.pm @@ -54,6 +54,12 @@ sub add_spore_method { my $code = delete $options{code}; + # $meta->_trace_msg( '-> attach ' + # . $name . ' (' + # . $options{method} . ' => ' + # . $options{path} + # . ')' ); + $meta->add_method( $name, Net::HTTP::Spore::Meta::Method->wrap( -- cgit 1.4.1