While reading the
MP3::Napster documentation I
thought that hacking the module to enable the Tk mode
without needing to provide a Tk object would allow you
to use non-blocking connects, which seem to be what you might want.
I don't know how easy it would
be, or if your perl skills are up to it, but it should be
possible and
may be the best solution.