What you are storing in $overwrite is the return value of the > operator, which will be Perl's version of "boolean" values - see Truth and Falsehood. If you wanted to store other values, you could use the Conditional Operator: my $overwrite = length($function) ? "true" : "false"; (those are two strings that are both considered "true" in Perl).
In reply to Re: Length of String
by haukex
in thread Length of String
by bigal_george
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |