in reply to When is my variable not really mine?
If you're curious, here's what happened with me: At the top of my program, I had
In one of my subs, I forgot parens around a set of variables I was declaring:my @data;
Guess what? I didn't localize @data (had I been more creative with my variable names, strict would have caught this). It took me quite a while to spot that. I thought I had a genuine bug in DBI uncovered.my @stuff, @data;
Remember, get a minimal test case and if you still have it, post the code and we'll get to work :)
Cheers,
Ovid
On a side note: I always think I've found a problem in Perl, or DBI, or CGI, only to discover that the problem is my code. In a year of doing Perl, I've only encountered one actual bug in Perl. I'll be good money that the issue is your code.
|
|---|