From other .pl file arguments are passed. trun($string_file,$maximum); How the values are assigned to string_file and $maximum. Can you please tell me what is "shift or return """.sub trun { my $string = shift or return ""; my $max = shift or return $string; .... }
In reply to Shift or return by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |