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

前端 未结 9 511
挽巷
挽巷 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条回答
  •  无人及你
    2020-11-29 18:10

    On MaxOSX there may be perlcc. Type man perlcc. On my system (10.6.8) it's in /usr/bin. YMMV

    See http://search.cpan.org/~nwclark/perl-5.8.9/utils/perlcc.PL

提交回复
热议问题