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

Yes even I can use CPAN and write programs once in a while.

But it'll be impractical to get various users to download and compile CPAN modules on their different machines (running OSX, Ubuntu etc).

Replies are listed 'Best First'.
Re^3: Cross platform https?
by marto (Cardinal) on Dec 03, 2010 at 09:48 UTC

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

      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).

Re^3: Cross platform https?
by Anonymous Monk on Dec 03, 2010 at 09:43 UTC
    But it'll be impractical to get various users to download and compile CPAN modules on their different machines (running OSX, Ubuntu etc).

    So provide the modules for your users?

    Or petition those yum/apt/rpm... maintainers to make the packages you need available (I'm sure most are already available)

Re^3: Cross platform https?
by dHarry (Abbot) on Dec 03, 2010 at 10:01 UTC

    I would still go for a CPAN module and a C implementation of the MD5 stuff. Having said that, maybe you could give Digest::MD5 a try?! This is not a Perl interface but fully implemented in Perl. Needless to say it will be (much) slower of course.

    Cheers

    Harry