Hi,
To your point "...If I remove &use locale& from the Perl code, I can see sort behaving differently...". Have you tried to call your script on both environments this way:
LANG=C perl sortscript.pl
What is the outcome in this case?
McA
In reply to Re^2: Difference in sort order between Solaris and Linux
by McA
in thread Difference in sort order between Solaris and Linux
by lpwevers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |