projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc70584
)
stip package name from sub
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Aug 2009 00:52:51 +0000
(
00:52
+0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 17 Aug 2009 00:52:51 +0000
(
00:52
+0000)
lib/PXElator/CouchDB.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/CouchDB.pm
b/lib/PXElator/CouchDB.pm
index
2453eba
..
53a12de
100644
(file)
--- a/
lib/PXElator/CouchDB.pm
+++ b/
lib/PXElator/CouchDB.pm
@@
-125,6
+125,7
@@
sub audit {
( $package, undef, $line ) = caller(0) if ! $package || $package eq 'main';
my $time = time();
+ $sub =~ s{^.+::}{}; # stip package name
$data->{$_} = eval '$' . $_ foreach ( qw/time package line sub/ );