perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r158156 - perl/modperl/docs/trunk/src/docs/1.0/guide/debug.pod
Date Fri, 18 Mar 2005 23:06:59 GMT
Author: stas
Date: Fri Mar 18 15:06:58 2005
New Revision: 158156

don't use line continuation \'s in the perl code 
Contributed by: Heather Sherman <>


Modified: perl/modperl/docs/trunk/src/docs/1.0/guide/debug.pod
--- 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:
For additional commands, e-mail:

View raw message