Re: perltrap: Shell traps page might be updated
[email protected] (Nicholas Clark) Tue, 21 Dec 2004 13:07:30 +0000
| Newsgroups | perl.documentation |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Dec 21, 2004 at 03:51:25PM +0300, Alexei Alexandrov wrote:
> Thanks. One correction: 'uses "=", "!=", "<" etc for string
> comparisons' should be 'uses "==", "!=", "<" etc for string
> comparisons'
Are you sure? man test shows:
s1 = s2 True if the strings s1 and s2 are identical.
s1 != s2 True if the strings s1 and s2 are not identical.
s1 < s2 True if string s1 comes before s2 based on the ASCII value
of their characters.
s1 > s2 True if string s1 comes after s2 based on the ASCII value
of their characters.
Nicholas Clark