On Thu, Jul 26, 2001 at 10:47:05AM -0400, Clinton A . Pierce wrote:
> So now when you have a prototyped sortsub:
> 
>       sub foo ($$) {
>       }
> 
> The third argument passed is the relative position of the two 
> comparison values either 1 or -1.  So here's the new sort function:
> 
> sub foo ($$) {
>         if ($_[0] < $_[1] and $_[2] > 1) {
>                 ($_[0],$_[1])=($_[1],$_[0]);
>         }
> }

You pass a third argument to a function with a prototype of ($$)?  How odd!
:)

Ronald

Reply via email to