Omit the Ampersand
- You rarely see it nowadays
- (Unless we're talking about references, but that's in a different book)
- You need it if you override built-in functions
- (Please don't do that.)
- Refer to functions as &name or name()
| CPU: Perl, Fall 2005 | Perl, Week 3: More Arrays, Context, Subroutines, Lexical Variables | #56 |
| Copyright © 2005 Ian Langworth |