That looks very wrong, and (assuming there isn't a stray global named $database) I'm not able to replicate the behavior using 5.6.1. What version of Perl are you using?
In reply to Re: Something fishy about my scope
by dws
in thread Something fishy about my scope
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |