In that case, use something like this:
This sets variable to the default unless it contains a non-whitespace character.$variable = "Some Default Messsage" unless $variable =~ /\S/;
In reply to Re: Return?
by btrott
in thread Return?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |