in reply to Re^3: Why do I get this error?
in thread Why do I get this error?

> I didn't do anything,

Well someone did cause Perl doesn't without being told so.

It's a global variable, who knows where it happens in your code.

Thats why we preach to always localize any change to special vars.

Cheers Rolf

( addicted to the Perl Programming Language)

PS: It's late, good night! :)