Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by xcodejoy (Novice)
on Oct 20, 2019 at 18:07 UTC ( #11107729=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11107729]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2019-12-16 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?