Author: stas
Date: Fri Mar 18 15:06:58 2005
New Revision: 158156
URL: http://svn.apache.org/viewcvs?view=rev&rev=158156
Log:
don't use line continuation \'s in the perl code
Contributed by: Heather Sherman <[EMAIL PROTECTED]>
Modified:
perl/modperl/docs/trunk/src/docs/1.0/guide/debug.pod
Modified: perl/modperl/docs/trunk/src/docs/1.0/guide/debug.pod
URL:
http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/1.0/guide/debug.pod?view=diff&r1=158155&r2=158156
==============================================================================
--- perl/modperl/docs/trunk/src/docs/1.0/guide/debug.pod (original)
+++ perl/modperl/docs/trunk/src/docs/1.0/guide/debug.pod Fri Mar 18 15:06:58
2005
@@ -1510,6 +1510,12 @@
For older Perls compiling with the experimental B<PERL_MARK_WHERE=1>
should solve this.
+Also if you happen to use line continuation C<\> your script, the line
+numbering will be off as well, since eval eats those C<\>'s and
+combines the lines together. The solution: do not use C<\>'s to mark
+lines as continued in Perl. Unlike shell languages, Perl doesn't
+require you to do that.
+
There are compiler directives to reset its counter to some value that
you decide. You can always pepper your code with these to help you
locate the problem. At the beginning of the line you could write
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]