> Each time, the warn is for 'blah' because the value 'test' > is never retained in $var. Is this intended behaviour?
No, that should create a closure that keeps the value of $var. Are you sure these requests are all going to the same instance? > Weird, it's like the <MIME::Types::DATA> handle just > mysteriously ran out of data halfway through reading > from it. Does anybody have any idea what's going on here. No, but it doesn't obviously point to problems with closures and lexical scoping in my opinion. It looks more like you have a problem with that filehandle. - Perrin