Shlomi Fish avatar Shlomi Fish committed 5c39924

Correct \# to #.

It was in several places in the XML and resulted in the final HTML.

Comments (0)

Files changed (1)

src/tutorials/bad-elements/perl-elements-to-avoid.xml-grammar-vered.xml

 PASSWD:
 while (my $line = <$pass_fh>)
 {
-    if ($line =~ m{\A$username}) \# Bad code here.
+    if ($line =~ m{\A$username}) # Bad code here.
     {
         print "Your username is in /etc/passwd\n";
         last PASSWD;
 if ( COND() )
 {
      print "Success!\n";
-     call_routine() \# No semicolon here.
+     call_routine() # No semicolon here.
 }
 </bad_code>
 <p>
 <code_blk syntax="perl">
 my @characters = split(//, $string);
 my $chars_aref = [ split(//, $string) ];
-my $num_chars = () = split(//, $string); \# Use length instead in this case.
+my $num_chars = () = split(//, $string); # Use length instead in this case.
 </code_blk>
 <p>
 A lot of the confusion stems from the fact that people expect arrays in Perl
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.