You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl-cvs@perl.apache.org by ri...@apache.org on 2001/11/22 12:04:14 UTC
cvs commit: embperl/Embperl Syntax.pm
richter 01/11/22 03:04:14
Modified: Embperl Tag: Embperl2c Syntax.pm
Log:
Embperl 2 - docu update
Revision Changes Path
No revision
No revision
1.1.4.47 +16 -1 embperl/Embperl/Attic/Syntax.pm
Index: Syntax.pm
===================================================================
RCS file: /home/cvs/embperl/Embperl/Attic/Syntax.pm,v
retrieving revision 1.1.4.46
retrieving revision 1.1.4.47
diff -u -r1.1.4.46 -r1.1.4.47
--- Syntax.pm 2001/10/31 12:04:26 1.1.4.46
+++ Syntax.pm 2001/11/22 11:04:14 1.1.4.47
@@ -10,7 +10,7 @@
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
-# $Id: Syntax.pm,v 1.1.4.46 2001/10/31 12:04:26 richter Exp $
+# $Id: Syntax.pm,v 1.1.4.47 2001/11/22 11:04:14 richter Exp $
#
###################################################################################
@@ -739,6 +739,21 @@
C<$_[0]> contains the Embperl request object. The method C<Code> can be used to
get or set the perl code that should be generated by this node.
+If the code begins with #!- all newlines are removed in the code. This is basicly
+usefull to keep all code on the same line, so the linenumber in error reporting
+matches the line in the source.
+
+=item compiletimeperlcodeend => <string>
+
+Code that is executed at compile time, but at the end of the tag.
+The same special strings are replaced as in C<perlcode>.
+
+C<$_[0]> contains the Embperl request object. The method C<Code> can be used to
+get or set the perl code that should be generated by this node.
+
+If the code begins with #!- all newlines are removed in the code. This is basicly
+usefull to keep all code on the same line, so the linenumber in error reporting
+matches the line in the source.
=item perlcoderemove => 0/1
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-cvs-help@perl.apache.org