When I try to run your code, I get the following output:
Use of uninitialized value in numeric comparison (<=>) at ./sorttest.p +l line 12. Use of uninitialized value in numeric comparison (<=>) at ./sorttest.p +l line 12. Use of uninitialized value in numeric comparison (<=>) at ./sorttest.p +l line 12. Use of uninitialized value in numeric comparison (<=>) at ./sorttest.p +l line 12. ALPHA:D 20 letters ABCCEDFFGAACDDEEEEFG ALPHA:D 20 letters ABCCEDFGGAACDDDEEEFG ALPHA:D 20 letters ABCCEDFFGAACDDDEEEFG ALPHA:E 24 letters ABCCEDFFGAACDDDEEEFGAGAD ALPHA:E 24 letters ABCCEDFFGAACDDDEEEFGAGAE
How can I resolve this, and where are the count values for these?
In reply to Re^2: String sorting in Perl
by Anonymous Monk
in thread String sorting in Perl
by markdavis87
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |