[Catalyst] how to get started?

John Napiorkowski jjn1056 at yahoo.com
Mon Aug 21 16:14:42 CEST 2006

I also had a similar frustration when starting with
Catalyst.  It's definitely worth your time to muddle
through it and make it work.  One thing that I've been
doing to help me keep track is I keep a running list
of modules I've installed from a clean 5.8.7 perl to
get everythings started that way I have less trouble
when moving to production.  Also I install my CPAN
apps under an application lib area instead of the
general CPAN area so I can easily discover what's been

If you'd like I make a quick and dirty script to load
CPAN modules in an order that seems to work when I
start from a vanilla 5.8.7 install.  I also know Matt
has an install script around that I am sure it much
better, but I am not sure where that is (somewhere on
the WIKI I imagine).

No doubt that CPAN has been aquiring some cruft over
the years, but I am sure this is a general Perl issue,
not just specific to Catalyst.   Hopefully when can
use the transition to perl 6 to solve some of these

Don't give up!  -john

--- "Afonov, Max" <Max.Afonov at mlb.com> wrote:

> Burninbruce,
> I understand how frustrating CPAN installs can
> sometimes be. However, I (and, I'm sure, a whole lot
> of others) believe that CPAN is a part of the Perl
> culture, and the ability to install any kind of
> module is a valuable skill. As a matter of fact, I
> always make sure a job applicant is familiar with
> CPAN and can at least seem to be able to solve
> various problems that may come up during an
> installation of a module. Those include, but are not
> limited to, external non-Perl dependencies, modules
> that fail to install on a certain system, etc.
> As much as it may be considered a job for sysadmins,
> CPAN installations are a fact of everyday life.
> Trust me, if you install Catalyst and all of its
> dependencies once, the next time is going to be that
> much easier. In addition, you get to know exactly
> what the Catalyst team have used to build this
> terrific framework, and perhaps leverage those same
> modules in your future software.
> -----Original Message-----
> From: catalyst-bounces at lists.rawmode.org on behalf
> of burninbruce at yahoo.com
> Sent: Mon 8/21/2006 5:03 AM
> To: catalyst at lists.rawmode.org
> Subject: [Catalyst] how to get started?
> I'm a programmer with many years experience with
> perl and some
> with CGI scripts but little with CPAN and none with
> web app
> frameworks.
> I've been trying for days to install Catalyst and
> haven't gotten
> far.  I've tried both "perl -MCPAN 'install
> Task::Catalyst'" and
> cat-install and they both fail with many errors in
> various
> prerequisite modules.  I've tried this on Sun
> Solaris, NetBSD,
> and Cygwin, and they fail in similar ways on all
> three.
> I've tried CatInABox and started going through the
> Catalyst
> Tutorial, and that works, up to running
> myapp_server.pl and
> accessing it from my web browser, or accessing
> myapp_cgi.pl.
> This was a little encouraging, but CatInABox doesn't
> include
> DBIx::Class, and when I try installing that, it also
> fails
> with errors in prerequisites, so I can't get any
> farther than
> the middle of part 2 of the tutorial.
> I've searched at vmware.com for the prebuilt VMWare
> image that
> supposedly exists for Catalyst but haven't been able
> to find
> it, and for some reason there's no link to it in the
> Catalyst
> documentation where it's mentioned.  But running
> this inside a
> VM seems excessively convoluted, so I hope there's
> another way.
> Here's my request: would someone please build a
> greatly expanded
> version of CatInABox that would include all the
> modules
> referenced in the Catalyst Tutorial and the other
> Catalyst
> examples, and all their recursive prerequisites, and
> put it up
> for people to download?
> In fact, please also include any other modules you
> can think of
> that might naturally be used with Catalyst.  I don't
> care if
> this turns into 1GB of perl modules (who doesn't
> have 100GB of
> space these days anyway), but I really don't look
> forward to
> having things fail again every time I try to add a
> module from
> CPAN and it requires Tree::Simple or something else
> that won't
> install for whatever reason.
> My hope: download the archive, extract it, setenv
> reference the extracted directory, and then be able
> to run the
> whole Catalyst Tutorial with no further ado.  Is
> that so much
> to ask?
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
> ************************
> MLB.com: Where Baseball is Always On
> > _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the Catalyst mailing list