http://qs321.pair.com?node_id=586352


in reply to Re^4: Why am I getting "premature end of script header"?
in thread Why am I getting "premature end of script header"?

Yup, that would work great. Just add my $lwpavailable; before BEGIN.