On Wed, Jul 30, 2008 at 10:43 PM, Amit Koren <[EMAIL PROTECTED]> wrote:

>   if ($x $sign $y) { # want it to be treated as:  if ($x >= $y)

one way, change the line above to:

if (eval "$x $sign $y") {
    ...
}


-- 
Regards,
Jeff. - [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to