Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Re: Replacement for

Thread Tools

Re: Replacement for

Peter Makholm
Posts: n/a
Bernie Cosell <(E-Mail Removed)> writes:

> is very old and I gather that its use is deprecated. Is there a
> better/newer package for handling the CGI interface between Perl and the
> web server? We use it both ways: to parse the incoming variables [and
> cookies] and to generate the outgoing HTML.

I would replace the non-HTML parts of with Plack.

Using the CGI handler it is easy to produce CGI scripts and it is easy
to later "upgrade" to something persistent.

Using Plack::Request and Plack::Response you get almost the same
internal features than the request handling parts of At least
easy access to request parameters and cookie handling.

It been years since I have used the HTML-parts of Most of the
time I would use a real template system (Template::Toolkit) and write
the HTML by hand.

For an API comparable to's HTML interface I think HTML::Tiny can
be used instead.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Replacement for Marius Gavrilescu Perl Misc 17 01-23-2014 07:39 PM
(CGI-Target)Could not connect to CGI-Proxy John Smith Java 0 05-15-2006 09:21 PM
Python CGI - Accepting Input, Invoking Another Process, Ending CGI LarsenMTL Python 4 11-04-2004 05:59 PM
Calling cgi from cgi thru 'system' function. Different behaviour on browser v/s cmd line Shailan Perl 2 12-15-2003 04:26 PM
Re: CGI Perl "use CGI" statement fail Jürgen Exner Perl 0 07-31-2003 02:00 PM