in reply to Re^2: Syntax error makes perl hang
in thread Syntax error makes perl hang

At a guess it is trying to create the result list at compile time.

/J\