projects
/
p5sagit/Object-Tap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6701eb2
)
Fix POD typo: sub name -> sub ref
Dagfinn Ilmari Mannsåker [Sat, 16 Aug 2014 18:38:47 +0000 (19:38 +0100)]
lib/Object/Tap.pm
patch
|
blob
|
blame
|
history
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);