in reply to Perl length if condition not working
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 [download]