http://www.perlmonks.org?node_id=11107729


in reply to Re: How to deliver a perl application to a client?
in thread How to deliver a perl application to a client?

Thanks for answer.

I'm working on a scraper using Web::Scraper

It will be small script. But, the predictability of the behavior of this script at the customer side is very important.

My solution is to write a bash-script that will do:

1. Create new user for executing the application (on client's machine).

2. Install "perlbrew" and "cpanm" (under new user rights).

3. Install correct Perl version (under perlbrew for this new user).

4. Install (via cpanm) all Perl modules for my project (correct version).

5. Extract my application.

6. Perform test run and show results.

Is it correct way?

  • Comment on Re^2: How to deliver a perl application to a client?

Replies are listed 'Best First'.
Re^3: How to deliver a perl application to a client?
by Anonymous Monk on Oct 21, 2019 at 10:53 UTC
    Sounds like really low dependencies, no need to install your own perl with perlbrew. Either package or make it easy for them to install the module. An OS package is probably overkill here.