Fails, appropriately, for me. Are you sure that’s the code you’re running? Chomp issue? Try adding this–
printf "[%s] -> %d\n", $param_value, length $param_value; # [123456789] -> 9
In reply to Re: Perl length if condition not working
by Your Mother
in thread Perl length if condition not working
by kanewilliam7777
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |