in reply to a require statement problem

Use LWP.pm fetch the remote script into a string. (A search for LWP will reveal a multitude of examples.) Once you have the script in a string, eval it.