in reply to GET overriding POST?

What's not clear to me is how you "include" the perl from the php. Could you post the relevant php lines too?