Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: When to bundle Perl with your app?

by LanX (Sage)
on May 27, 2014 at 20:59 UTC ( #1087578=note: print w/replies, xml ) Need Help??

in reply to When to bundle Perl with your app?

Well sounds like a good approach against dependency hell ...

( though Mojolicious has the reputation to have only few dependencies ... so the answer correlates with the number of additional modules your app depends on )

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^2: When to bundle Perl with your app?
by wollmers (Scribe) on May 28, 2014 at 12:16 UTC

    Mojolicious has nearly no dependencies declared, i.e. perl 5.10.1 and ExtUtils::MakeMaker 0, but has many on core modules. Also Mojo has many (undeclared) suggests or recommends dependencies, which are required in an string eval.

    A few weeks ago I got in the dependency hell with Mojolicious: Something working for a long time (using the dump helper in a template) threw an error. Seems that another installation of a CPAN module required an explicit minimal version of Data::Dumper. But at the time of installation Data::Dumper was broken. This took me some hours to try, diagnose, and update. Yes, if someone is paranoic against such (extremely seldom) situations, then it is a good approach. But in most cases such approaches waste resources.

      Mojolicious itself might have few dependencies, but any non-trivial application that you write using it will have loads.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2023-03-25 17:38 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.