in reply to Passing a scalar to a subroutine
If I may draw your attention to something else?
chomp ($input = <STDIN>); $input = $value; # <--- are we sure about this?!? #call subroutine to check user input verification($value)
If I may suggest $value = $input?
|
|---|