On Wed, Dec 05, 2001 at 11:44:30AM -0500, Martin 'Kingpin' Thurn wrote:
> How about
> 
> (eval{$flag} eq '0')


That triggers a warning if $flag is undefined. If one doesn't care
about warnings, "$flag eq 0" would do too. However, it's doesn't
return true on "", which turned out to be required.



Abigail

Reply via email to