I gave a presentation about this at YAPC and OSCON a couple of years ago. You can find my slides here and the sample code here.
In short, I found no important differences in the code you need to write with either one. You might choose one over the other because you like a specific plugin that it has (e.g. Catalyst's session plugin or CGI::App's ValidateRM plugin), or because you like or dislike the syntactic sugar that Catalyst uses. You can also do more with URL mapping in Catalyst without writing code. (You can do all the same mappings with CGI::App, but you'd have to write code to implement some of them. The Catalyst mappings are essentially configuration driven.)
There is also a distinctly different flavor to the communities around them, as you will see if you browse a bit of the mailing list archives for each of them.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|