This will printmy $str = 'y'; $str ++; print "$str\n"; $str ++; print "$str\n";
z
aa
Now, both z and aa are less or equal to z.
It isn't until you reach za that you have a string
that isn't less or equal to z.
Abigail
In reply to Re: lt versus le in string comparision
by Abigail-II
in thread lt versus le in string comparision
by Len
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |