Fix syntax: useless use of constant in void context
authorAlan Haggai Alavi <alanhaggai@alanhaggai.org>
Sun, 3 Feb 2013 04:47:06 +0000 (09:47 +0530)
committerAaron Crane <arc@cpan.org>
Sun, 3 Feb 2013 09:45:39 +0000 (09:45 +0000)
pod/perlsec.pod

index 634024d..7b3f99d 100644 (file)
@@ -93,7 +93,7 @@ The keys of a hash are B<never> tainted.
 For example:
 
     $arg = shift;              # $arg is tainted
-    $hid = $arg, 'bar';                # $hid is also tainted
+    $hid = $arg . 'bar';       # $hid is also tainted
     $line = <>;                        # Tainted
     $line = <STDIN>;           # Also tainted
     open FOO, "/home/me/bar" or die $!;