Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Need help using fatpack

by Fletch (Bishop)
on Apr 30, 2022 at 03:57 UTC ( [id://11143463]=note: print w/replies, xml ) Need Help??


in reply to Need help using fatpack

Maybe not ideal for this in particular instance (since you're using Term::Readline and would need a full terminal) but have you looked at Platypus? Haven't used it in a while but had in the past with some success. It'll wrap scripty things up as an application bundle. You could install whatever required libraries into a local::lib directory and then add that into the application contents (and add an appropriate incantation like use local::lib q{./my_libs}; to the main script).

Edit: Actually thinking it over platypus would be using the os’ Perl so that’s another ding. You prossibly could also pack up a perlbrewed environment of 5.34 and have it run that instead, but that’s probably more work you’d need to do.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: Need help using fatpack
by ibm1620 (Hermit) on Apr 30, 2022 at 23:21 UTC
    Yeah, it doesn't look like there's a super-simple solution. I think I may just have them install perlbrew > perl 5.34 and cpanm, and install the needed modules. (I think that's the only way for them to get Term::ReadLine::Gnu, which seems to handle line-editing keystrokes better than ::Perl.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-04-16 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found