[sf-perl] Any::* vs Stable::* [follow up to Mouse/Moose]
fred at redhotpenguin.com
Wed Mar 7 15:18:00 PST 2012
On Wed, Mar 7, 2012 at 2:59 PM, Jonathan Swartz <swartz at pobox.com> wrote:
> Are you running with --notest? Otherwise, 75%-80% of the time is going towards distribution tests that, for your quick and dirty app, is almost certainly extreme overkill (the tests could be run later anyway if you suspect a problem).
I usually do, but this was an updated platform so I ran the tests.
Good news is that the app came up with everything working, which is
> (even though I know almost everyone disagrees with me)
> On Mar 7, 2012, at 2:40 PM, Fred Moyer wrote:
>> Following up to the previous thread about Mouse vs Moose, and the
>> Any::* module discussion, I had some new thoughts. There's a quick
>> and dirty Catalyst app I work with which was running on a box that got
>> transitioned to a new environment a few months ago, and that app got
>> moved but not turned on. Today one of the users asked what happened
>> to the app, so I tried to start it up but it needed Catalyst to be
>> installed (the libraries weren't moved).
>> The app was using Catalyst 5.8, but when I used cpanm to install
>> Catalyst, it started installing Catalyst 5.9. Which started
>> installing Moose and company, and in this case it started installing
>> Moose 2. The dependencies are still installing (which is giving me
>> time to write this), and Moose itself took almost 10 minutes to
>> install on this platform.
>> In lieu of setting up a dependency management system such as pinto or
>> carton which would be overkill for this problem, I'm wondering if
>> creating a distribution called Stable::Catalyst would be a good
>> solution. Or perhaps Last::Catalyst. A namespace that installs the
>> previous major version of a module within the last six months to a
>> year, or some other heuristic to identify when major changes occur.
>> Anyway, 30 minutes into it cpanminus is still chugging away install
>> Catalyst 5.9. Having had the chance here to look more in depth at
>> Carton it looks like that might be the right solution for this
>> SanFrancisco-pm mailing list
>> SanFrancisco-pm at pm.org
More information about the SanFrancisco-pm