From: Vincent Pit Date: Fri, 8 Jan 2010 21:29:20 +0000 (+0100) Subject: Document the caveat about eval STRING X-Git-Tag: v0.02~1 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Op.git;a=commitdiff_plain;h=abd480ecd0ecf811f442448f74cf0afaa7997a77 Document the caveat about eval STRING --- diff --git a/lib/Sub/Op.pm b/lib/Sub/Op.pm index e44ebca..1c783f6 100644 --- a/lib/Sub/Op.pm +++ b/lib/Sub/Op.pm @@ -440,6 +440,9 @@ See the F directory that implements a complete example. Preexistent definitions of a sub whose name is handled by L 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 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 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 5.10.