]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
Document the failure to see an indirect syntax at the very end of the file (without...
authorVincent Pit <vince@profvince.com>
Mon, 20 Oct 2008 15:59:02 +0000 (17:59 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 20 Oct 2008 15:59:02 +0000 (17:59 +0200)
lib/indirect.pm

index 7fffeb580499dcdfb94ef7383f8fbdc230fea85b..b1278f8e5093b9f270af9f455dcdcbc7f79a0bd0 100644 (file)
@@ -69,6 +69,10 @@ L<perl> 5.9.4.
 
 L<XSLoader> (standard since perl 5.006).
 
+=head1 CAVEATS
+
+C<meth $obj> (no semicolon) at the end of a file won't be seen as an indirect object syntax, although it will as soon as there is another token before the end (as in C<meth $obj;> or C<meth $obj 1>).
+
 =head1 AUTHOR
 
 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.