Jul 22, 2009, 3:37 PM
OK, this is now getting really bizarre. I fixed up a bunch of potential screw ups with "foreach" loops, though I'm not convinced that I made a mistake there. Then I tried again - it still doesn't work. Then I filled the variable I've been having trouble with and commented out all the rest of the code until the final line, which says:
Re: [efoss] hash of hashes disappears
I put a block before that line and run it and ALL of my variables are gone. Then before the commented out block of code, I put in this line:
print "check now\n";
I put a block before that and now all of my variables are there and filled correctly and everything is fine. So somehow printing "check now" and jumping over a big block of commented out code has led me to lose all of my variables. Removing the commented out code fixes the problem - then when I put a block before the final "done" line, all the variables are there.
So jumping over a block of commented out code makes my variables vanish. That's pretty messed up.
(This post was edited by efoss on Jul 22, 2009, 3:40 PM)