There is nothing built into Perl that will do this. If you need it, you could implement it yourself. You could make a function that fetches the code from a specified URL and runs it. The security implications are mind-boggling though. Maybe you should think about what you're trying to do and look for an alternate approach. Maybe some kind of remote procedure call to the foreign server?