in reply to Re: Another variable scoping oddity
in thread Another variable scoping oddity

I see, so that's the reason. That should teach me not to omit the -w flag, and add #!/usr/bin/perl -w to my code. I became too lazy these days. :(