Actual : @Foods=qw(abc abc1 abc2 abc_1 abc_2 abc01_1);
After sorting it's printing like this
:
abc abc01_1 abc1 abc2 abc_1 abc_2
But it should be like this
:
abc abc_1 abc_2 abc01_1 abc1 abc2
In reply to sorting an array if sting having _ by saiprathapreddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |