summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-05 13:19:50 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-05 13:19:50 +0000
commit94bc412f1f7b3d506c2ea51a781e3dd55c1c8492 (patch)
treecf3267f0e8e723cac7dea8316d10d526883d1faa /pp.h
parentaf71faff9cab9c988715157db11d9f43f66b98f3 (diff)
downloadperl-94bc412f1f7b3d506c2ea51a781e3dd55c1c8492.tar.gz
Convert tied PRINT to using Perl_tied_method()
Add a flag TIED_METHOD_SAY to Perl_tied_method(), to allow tied PRINT to effect C<local $\ = "\n";> within the ENTER/LEAVE pair of Perl_tied_method().
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp.h b/pp.h
index 3070476fc9..690306944e 100644
--- a/pp.h
+++ b/pp.h
@@ -497,6 +497,7 @@ True if this op will be the return value of an lvalue subroutine
architecture can generate more efficient instructions. */
# define TIED_METHOD_MORTALIZE_NOT_NEEDED 0x04
# define TIED_METHOD_ARGUMENTS_ON_STACK 0x08
+# define TIED_METHOD_SAY 0x10
#endif
/*