Commits

Anonymous committed e12f6d0

Fixed a typo in the code excerpt thanks to slakmagic.

Comments (0)

Files changed (1)

src/tutorials/bad-elements/index.html.wml

 <bad_code>
 my $name = shift(@ARGV);
 
-print "$name", \n";
+print "$name", "\n";
 
 if ("$name" =~ m{\At}i)
 {
 \# Better code.
 my $name = shift(@ARGV);
 
-print $name, \n";
+print $name, "\n";
 
 if ($name =~ m{\At}i)
 {