Implicit variable passing
 
 
The value of the variable in subroutines will not be updated after the first call
Perl considers the two variables to be separate
Solutions
- Fully qualify the variable in the subroutine
 - Pass by value or reference
 - Make the variable global