Are you sure WIND_GUST_MPH contains the empty string and not undef? In either case, you can use
if ($gust) { $gusting ="gusting to $gust"; } else { $gusting ="not gusting"; }
In reply to Re: passing data to variable in if statment
by FunkyMonk
in thread passing data to variable in if statment
by stuffy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |