in reply to Removing characters
then perl will return "false" for any scalar with a null value. Just test for true or false on the value directly.$string = "";
if ($string) { # ... do something }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Removing characters
by turnstep (Parson) on Apr 21, 2000 at 06:25 UTC |