in reply to Connect gdb to a running perl process
This might be a stupid question, but why are you using gdb to debug your Perl script? Why not invoke the Perl debugger? If you do need to debug using gdb, some of the methodology described at http://modperlbook.org/html/ch21_07.html may be of use.
(By the way, from the where output, I would hazard a guess that your Perl code is executing a sleep statement)
perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"