in reply to Porting Perl programs

Is there any way to convert a perl program to autoexecutable or something like that to run them on different machines?
Yes, although I'm not going to go into details. It usually requires modifying your compiler, but it is possible to generate binaries that will run on different platforms. The trick involves in having the different binaries (for each platform) in one file, and to very early on in the program loader, jump to the right binary. While I won't know whether this will work between any two platforms, I know from experience, it's possible between some.

But I don't think you really want to do that. It's highly non-trivial and will take a lot of work to get it done.