From: Dagfinn Ilmari Mannsåker Date: Sat, 16 Aug 2014 18:38:47 +0000 (+0100) Subject: Fix POD typo: sub name -> sub ref X-Git-Tag: 1.000004~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f72e0060c524072e6736af9e05bd60b83411cd72;hp=6701eb22e1638b1a135f025cbd1eb29c997e5763;p=p5sagit%2FObject-Tap.git Fix POD typo: sub name -> sub ref --- diff --git a/lib/Object/Tap.pm b/lib/Object/Tap.pm index 923e92f..cb682b1 100644 --- 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);