|Perl Monk, Perl Meditation|
Tk::Listbox=HASH Errorby shockme (Chaplain)
|on Dec 13, 2002 at 20:47 UTC||Need Help??|
shockme has asked for the
wisdom of the Perl Monks concerning the following question:
In my ongoing quest to learn Perl::Tk, I've stumbled upon an error that has me stumped. First, the code:
The above subroutine basically extracts either MP3 or Ogg tags from song files and populates the $info hash (which in turn populates the UI.
For the most part, it works flawlessly. However, every so often it crashes with the following:
The really odd part (to my mind) is that if I comment out the line
the script runs just fine. Of course, the UI is never populated with anything, but it doesn't crash either.
If anyone has any suggestions, I'd really appreciate it. (The entire script is way too long to post here. If you want to view the entire script, the CVS is available at mcc.sourceforge.net or contact me and I'll be glad to email it to you.
If things get any worse, I'll have to ask you to stop helping me.