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

To add to the detective work, changing to
#!/usr/bin/perl $rec = { avg_outst => pct_pf... # BAD pct_pfo => ' ', };
gives me
C:\Perl>perl -MO=Deparse testhang.pl $rec = {'avg_outst', 'pct_pf', ' '}; testhang.pl syntax OK