in reply to Re^2: Tie::File and Tie::Array::Packed;
in thread Tie::File and Tie::Array::Packed;

I am unable to reproduce the error in my computer. When I run your script I get a DONE!! message.

Which perl version and OS are you using?

Also, could you follow Corion advice trying to reduce the script to something minimal?

Replies are listed 'Best First'.
Re^4: Tie::File and Tie::Array::Packed;
by Dandello (Monk) on Feb 01, 2011 at 18:14 UTC

    Win XP, ActivePerl 5.8.9 (I should probably upgrade that.) The Tie::File and Tie::Array::Packed modules are from that distribution.

      I have tried with that configuration and the program does not crash.

        Obviously there's something funky going on with my particular machine.

        Luckily using Tie::Array::Packed is not mission critical - although it looks like a sweet technique when running through humongous arrays.

        But it's a little scary to realize that a script that runs for five hours before completing its task, or an array with 20,000+ items in it, are not abnormal.

        This is coming from a person who actually remembers doing single 4 page print runs that took so long that I could walk to Starbucks for coffee and be back before it finished.