in reply to Re: Re: Tie::File strangeness with unshift
in thread Tie::File strangeness with unshift

914,
I couldn't let this drop - glad that you found the problem. I am intrigued though. Are you sure line 699 is exactly as you have written it above? I just downloaded it and mine reads:

read $fh, my $old, $readsize;

Notice the my infront of old and no i at the end of $readsize. I wonder if someone was hacking what they shouldn't have been. In anycase, if you are confident the problem is with v.095 let Dominus know, but be sure to include a test case he can reproduce.

Cheers - L~R

  • Comment on Re: Re: Re: Tie::File strangeness with unshift

Replies are listed 'Best First'.
Re: Re: Re: Re: Tie::File strangeness with unshift
by u914 (Pilgrim) on May 26, 2003 at 02:13 UTC
    L~R,

    You seem to have a point... i have no idea how this happened, but apparently the File.pm in my libs was/got corrupted.

    I'm not the only one on the server, but the list is extra-short, so i know where to look... ;-)

    I've deleted and restored, and now v0.95 works peachy, both with the test case and my original CGI script (which was unchanged).

    Anyhow, thanks again for your help/attention! It makes me glad to know that there wasn't/isn't a 'real' issue with Tie::File.