* A. Pagaltzis <[EMAIL PROTECTED]> [2004-05-14 17:32]:
> That will generate a warning à la 
> 
>     Argument "94foobar" isn't numeric in addition (+) at baz.pl line 42
> 
> Of course you could always
> 
>       $Yr = do { no warnings 'numeric'; ($FieldA > 20 ? 1900 : 2000) } + $FieldA;

Silly me.

        $Yr = do { no warnings 'numeric'; ($FieldA > 20 ? 1900 : 2000) + $FieldA };

-- 
Regards,
Aristotle
 
"If you can't laugh at yourself, you don't take life seriously enough."

Reply via email to