develooper Front page | perl.perl5.porters | Postings from May 2013

Re: RFC: Removing CGI.pm from the core distribution

Thread Previous | Thread Next
From:
Dr.Ruud
Date:
May 27, 2013 17:37
Subject:
Re: RFC: Removing CGI.pm from the core distribution
Message ID:
20130527173658.4873.qmail@lists-nntp.develooper.com
On 26/05/2013 23:37, David Golden wrote:
> On Sun, May 26, 2013 at 3:21 PM, Johan Vromans <jvromans@squirrel.nl> wrote:

>> If I'd want a trivial web app that shows me yesterday's SinFest comic,
>> I'd use CGI.pm and 10-20 lines of Perl code. It would work on every web
>> host that has Perl. What would be your approach?
>
> I would assume that "web 101 with Perl" would show a way to do it that
> might be more than you need for a trivial app, but that scales into a
> "real" app when called for.
>
> Analogy: for a trivial object oriented program, I'll just use bless
> and write my own accessors.  But for teaching "how to write OO apps in
> perl", I'd use Moose or Moo.

bless is the new CGI

-- 
Ruud


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About