X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperltrap.pod;h=0ad0086a599a4656411bb92932a706b1cb099045;hb=9b5c3821be1f2a9a84772171c8bbadbf9cfc4a53;hp=d8f667c736abf3964cb3a10f8d8ac2399579fbf5;hpb=6014d0cb2904bf89033c6aa0d3dbb1d1600d6994;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perltrap.pod b/pod/perltrap.pod index d8f667c..0ad0086 100644 --- a/pod/perltrap.pod +++ b/pod/perltrap.pod @@ -267,6 +267,13 @@ The arguments are available via @ARGV, not $1, $2, etc. The environment is not automatically made available as separate scalar variables. +=item * + +The shell's C uses "=", "!=", "<" etc for string comparisons and "-eq", +"-ne", "-lt" etc for numeric comparisons. This is the reverse of Perl, which +uses C, C, C for string comparisons, and C<==>, C C<< < >> etc +for numeric comparisons. + =back =head2 Perl Traps