perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
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

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 <heather@cenic.org>

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: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


Mime
View raw message