in reply to Re^2: lack an adequate understanding of (at least) the seek function
in thread lack an adequate understanding of (at least) the seek function

You are quite welcome o2bwise. The problem is that you are untie'ing the wrong thingy. Try this instead:

untie $myTieObject;
And there is no need to have 1; as the last line of a script. That's only necessary for modules. Cheers! :)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on Re^3: lack an adequate understanding of (at least) the seek function
  • Download Code

Replies are listed 'Best First'.
Re^4: lack an adequate understanding of (at least) the seek function
by o2bwise (Scribe) on May 24, 2005 at 23:38 UTC
    Thanks, jeffa. I guess I was fooled by the tie being applied to the array coupled by the following in:

    http://search.cpan.org/~mjd/Tie-File-0.96/lib/Tie/File.pm#flock

    "The best way to unlock a file is to discard the object and untie the array."

    Man, I want to become a solid perl programmer. I was an engineer for several years in semiconductors and have been in software for ~6 years. I scripted (read: SCRIPTED) in perl for five of those.

    Say, I listened to the song you have posted. Not bad, but the title is much better, i.e. "the triplet paradiddle with a high-hat" - how can you beat that?

    If you like it, perhaps you might give a song called Serengetti (Grateful Dead off Shakedown Street) a try. All percussion where it gradually adds more and then removes it.

    Well, thanks again, jeffa...

    Cheers!

    o2