summaryrefslogtreecommitdiff
path: root/pod/perlsec.pod
diff options
context:
space:
mode:
authorAlan Haggai Alavi <alanhaggai@alanhaggai.org>2013-02-03 10:17:06 +0530
committerAaron Crane <arc@cpan.org>2013-02-03 09:45:39 +0000
commit048b63be58b8721f0571d952bfb6e6194e154942 (patch)
treefc66e1639145d37ce3b44e0f8dddfbac4c996431 /pod/perlsec.pod
parent6ae276475012fdc76828e37e66dd58041d23387c (diff)
downloadperl-048b63be58b8721f0571d952bfb6e6194e154942.tar.gz
Fix syntax: useless use of constant in void context
Diffstat (limited to 'pod/perlsec.pod')
-rw-r--r--pod/perlsec.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlsec.pod b/pod/perlsec.pod
index 634024d92f..7b3f99dd81 100644
--- a/pod/perlsec.pod
+++ b/pod/perlsec.pod
@@ -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 $!;