How can I compile my Perl script so it can be executed on systems without perl installed?

前端 未结 9 512
挽巷
挽巷 2020-11-29 17:39

I have a .pl file and I want to execute that file in any system even though perl is not installed. How can i achieve it?

Can any one let me

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 18:22

    Perl files are scripts, not executable programs. Therefore, for them to 'run', they are going to need an interpreter.

    So, you have two choices: 1) Have the interpreter on the machine that you wish to run the script, or 2) Have the script running on a networked (or Internet) machine that you remotely connect to (ie with a browser)

提交回复
热议问题