]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - lib/Sub/Op.pm
Document the caveat about eval STRING
[perl/modules/Sub-Op.git] / lib / Sub / Op.pm
index e44ebcaa8afa9635d934cb09c68cd52b0d586e0c..1c783f6fa3504399522cc4dfb27ca20476b3517e 100644 (file)
@@ -440,6 +440,9 @@ See the F<t/Sub-Op-LexicalSub> directory that implements a complete example.
 Preexistent definitions of a sub whose name is handled by L<Sub::Op> are restored at the end of the lexical scope in which the module is used.
 But if you define a sub in the scope of action of L<Sub::Op> with a name that is currently being replaced, the new declaration will be obliterated at the scope end.
 
+Function calls without parenthesis inside an C<eval STRING> in the scope of the pragma won't be replaced.
+I know a few ways of fixing this, but I've not yet decided on which.
+
 =head1 DEPENDENCIES
 
 L<perl> 5.10.