in reply to Re^2: Is this a bug in Perl scope?in thread Is this a bug in Perl scope?
perdoc -f tell will give you the details; in short, tell can help you find your location in a filehandle.