in reply to References for understanding subroutines; spelling and phrasing
print hello("world")."\n"; exit(0); sub hello { my ($passed_on_var) = @_; return('hello '.$passed_on_var); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |