in reply to Re: sorting the column of array element
in thread sorting the column of array element

Hey Thanks.. Yes $array[0] is one column of a tab delimited file having three columns.so i wanna sort on the first column Thanks

  • Comment on Re^2: sorting the column of array element

Replies are listed 'Best First'.
Re^3: sorting the column of array element
by ww (Archbishop) on May 24, 2012 at 12:10 UTC
    Ummmmm..... it seems to me that either your answer, "yes," to the question whether @array[0] 'is a reference to an array?'
    • is inaccurate (eg, 'wrong')
           . ... or else
    • @array[0] is something other than the simple content of 'one column of a tab delimited file having three columns' (where the 'simple content' is something sortable -- either numericly or alphabetically -- without further specification of the criteria for sorting).

    Which is it?

    Update: Added quoted content in second bullet, for clarity and closing paren for correctness. Duh!