in reply to Re^2: Cross platform https?
in thread Cross platform https?

Consider using PAR to package your script, modules and dependant files.

Replies are listed 'Best First'.
Re^4: Cross platform https?
by Anonymous Monk on Dec 08, 2010 at 06:40 UTC
    Would a single PAR package really work for different Linux distros?

    Or would I need to build packages for "number of distros" * "number of different supported versions for that distros"?

      If you were using Pure Perl modules yes, however you may want to use modules which aren't. Find a link to some nice slides here, which demonstrate application packaging and maintanence in detail (N.B. PAR::WebStart and repositories).

        My perl app already works on OS X, various Linux distros (from say Centos 3.9 to new), Solaris and AIX. I did that by sticking to pure-perl stuff.

        The problem I have now is a new requirement of https support.

        Crypt::SSLeay appears dependent on openssl being already preinstalled.

        Will PAR allow me to include a compatible version of openssl and whatever else Crypt::SSLeay needs? And also whatever else openssl etc needs?

        I've used pp before and have had problems getting it to work across different machines. Which was why I went to "pure-perl" in the first place. Maybe I was just doing stuff wrong.