Questions
- What if we wanted &sum_of_a_hundred_numbers ?
$_[0] + $_[1] + ... (borrrrring) ... $_[99];
- What if we call another subroutine from within it? What happens to @_ ?
| CPU: Perl, Fall 2005 | Perl, Week 3: More Arrays, Context, Subroutines, Lexical Variables | #46 |
$_[0] + $_[1] + ... (borrrrring) ... $_[99];
| Copyright © 2005 Ian Langworth |