in reply to Simple Array Syntax question

Why it doesn't work: sort returns a list, not an array. To get an arrayref you've got to use the anonymous arrayref constructor as was previously mentioned.

Replies are listed 'Best First'.
Re: Re: Simple Array Syntax question
by freddo411 (Chaplain) on May 19, 2004 at 20:53 UTC
    Thanks for the explaination

    -------------------------------------
    Nothing is too wonderful to be true
    -- Michael Faraday