1 | Subroutines must typically be predefined (with new sub command) if they are to be accessed with |
2 | subname(list); # or one can use |
3 | &subname(); # as equivalent to subname() |
4 | so that & notation is typically unnecessary |
5 | use packagename qw( NAME1 NAME2 NAME3); # imports routines NAME1 NAME2 NAME3 from package packagename |
6 |
Notice qw() is new Perl5 routine to generate quotes around space separated words
|