This might be a stupid question, but why are you using gdb to debug your Perl script? Why not invoke the Perl debugger?
You can't call the perl debugger on a running perl script, can you? Requirement is to not having to restart the process.
(By the way, from the where output, I would hazard a guess that your Perl code is executing a sleep statement)
Right, this was a sample script. I was hoping there was a proven sequence of gdb commands to examine perl's internal data structures revealing the current file and line.