my $param_value='123456789'; if(length($param_value)!=10) { print 'Fail'; } else { print 'Success'; }
Needed & correct result is "Fail". but it's return "Success".
Please let me know how to check the string length
In reply to Perl length if condition not working by kanewilliam7777
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |