How are you running the program? What version of Perl are you using?
In reply to Re^9: returning to a loop later on by ikegami in thread returning to a loop later on by Yoda_Oz