Todd Finney wrote:
Perhaps I'm just underinformed, but using a variable in a subroutine without declaring it or passing it in seems like asking for weird bugs.
Or asking for a persistent variable. Usually "our $color" is a bit clearer for that though.
- Perrin