I have simple Perl/CGI scripts based web server which is mainly used to display graphs and images. I am looking to make it more technical and come to know about Catalyst. I have installed all the required Perl modules on my test platform and created an application called myweb. Also, I am going through the Catalyst documents to reach my goal but nothing helpful yet.
- Is Catalyst helpful to display
images/graphs on web? - How can I use my existing CGI/Perl
scritps with Catalyst?
Any example would be really appreciated.
Is Catalyst helpful to display images/graphs on web?
Whatever you currently do in your CGI script will also work in same way within Catalyst (view).
However you can improve/change your method by using an already prescribed
Catalyst::Viewfrom CPAN.How to use my existing cgi/perl scritps with Catalyst?
You can just embed your CGI script within Catalyst using
Catalyst::Controller::CGIBinHowever to get the full benefits of Catalyst
MVCthen it would be better to rewrite you CGI script into necessary component parts (Model, View & Controller).