Serge Shakarian wrote:
>
> is there a way for the compare operator to return the higher or lower
> operand?

Just in case you were looking for a max() operator, you can do this:

    my $max = ($a > $b ? $a : $b);

much like in C.

Cheers,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to