![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Sort - can'tby chas (Priest) |
on Aug 29, 2005 at 01:36 UTC ( [id://487321]=note: print w/replies, xml ) | Need Help?? |
It isn't clear to me what your array is exactly, but in any case, as has been remarked already, $sub3 will be a single string, and sorting it will have no effect. It isn't clear to me what you want to do or I would have offered more suggestions. chas (Update: Actually, what I said is misleading. I *think* the first line of the code above will take @array in scalar context giving the number of elements, and then $sub1 will be this value; $sub2 and $sub3 will be empty. The sorting will do nothing useful, of course. So perhaps you should just ignore my reply above and read the other replies...)
In Section
Seekers of Perl Wisdom
|
|