in reply to Length of String
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).
|
---|