in reply to perl help sort

You are setting up your array incorrectly. You have an array of only one element. You want:
push @array, $x, $y, $z; @array = sort{$a <=> $b} @array; print "$array[0]\n";

Replies are listed 'Best First'.
Re: Re: perl help sort
by Anonymous Monk on Mar 10, 2001 at 00:17 UTC
    your ausome thanks