Parentheses
- That chomp function could also be written as:
chomp $drinkie;
- Learning Perl says, "Except in cases where it changes the meaning to remove them, parentheses are always optional." (p.35)
| CPU: Perl, Fall 2005 | Perl, Week 2: Arrays, Hashes, Control Structures | #19 |
chomp $drinkie;
| Copyright © 2005 Ian Langworth |