Jesse Erlbaum wrote:
> 
> Hi Spencer --
> 
> >Hmmm... I was just wondering, is there a list or repository or something
> >of web
> >applications using CGI::Application?
> 
> CPAN!  The Comprehensive Perl Archive Network was always envisioned to be
> the repository for such modules.  Sam's "CGI::Application::MailPage" may be
> the first module on CPAN specifically built on CGI::Application.
> 
> If anyone has any intentions of writing a CGI applications based on
> CGI::Application, they ought to be distributed via CPAN.  FYI, there is no
> requirement that the module be within the CGI::Application::* name-space.

I thought about this for Cascade, but I decided it wasn't a good fit.
Besides all my perl modules, There are also 20 or so templates, some
command line and cron scripts and a config file, plus the instance
script. So a user can't just "use" my modules in the standard sense,
they need to copy over and customize some templates, a config file and
instance script to get going. 

So, it didn't seem to fit nicely into the "modules" part of CPAN or the
"scripts" part of CPAN, it's really an "application", a bit of a
different critter. 

The compromise I made was putting "Bundle::Cascade" on CPAN-- it allows
you to easily install all the dependencies you need for the project, but
you still need to do a "manual" install of the software. 

OTOH, I think MailPage is a good fit for CPAN-- it needs just bit of
code in an instance script to work, and you don't need a template file
to get going. If I was to provide a "default" template set to use with
Cascade, my 20+ template files would be somewhere in the depths of
/usr/local/lib/perl I suppose... which seems strange. 

Some other large perl apps also use the same approach of using a
"Bundle" on CPAN, but not putting the app there (SlashCode and
Interchange come to mind). 

So my two questions are: 

* Do large Perl apps really belong on CPAN?
* How do they fit currently? 
* Or if they don't fit currently, what's an alternate solution that
makes sense. 

[ I suppose this has really become more of a CPAN question now, rather
than CGI::App. :) ] 

  -mark 

http://mark.stosberg.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to