diff options
author | franck cuny <franck@lumberjaph.net> | 2011-07-11 10:48:38 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-07-26 13:21:01 +0200 |
commit | 57cee51cc4da408f82f4c68fb8419887ce16ade3 (patch) | |
tree | dc8430ddfe9b85e2baa0baf6976a6ba03a965e0b | |
parent | fix path_info (diff) | |
download | net-http-spore-57cee51cc4da408f82f4c68fb8419887ce16ade3.tar.gz |
can't log at this point when we attach a method
Signed-off-by: franck cuny <franck@lumberjaph.net>
-rw-r--r-- | lib/Net/HTTP/Spore/Meta/Method/Spore.pm | 6 |
1 files changed, 6 insertions, 0 deletions
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( |