projects
/
p5sagit/Object-Tap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix POD typo: sub name -> sub ref
[p5sagit/Object-Tap.git]
/
lib
/
Object
/
Tap.pm
diff --git
a/lib/Object/Tap.pm
b/lib/Object/Tap.pm
index
923e92f
..
cb682b1
100644
(file)
--- a/
lib/Object/Tap.pm
+++ b/
lib/Object/Tap.pm
@@
-40,7
+40,7
@@
You can also pass extra args -
$obj->$_tap(sub { warn "Got arg: $_[1]" }, 'arg');
-or use a method name instead of a sub name -
+or use a method name instead of a sub ref -
my $thing = My::Class->new(...)->$_tap(set_foo => 1);