What Context Are They?
- $foo = something;
- Scalar context
- @bar = something;
- List context
- ($mine, $yours) = @cars;
- List context
- ($mine) = @cars;
| CPU: Perl, Fall 2005 | Perl, Week 3: More Arrays, Context, Subroutines, Lexical Variables | #28 |
| Copyright © 2005 Ian Langworth |