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

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

Thread Previous | Thread Next
From:
David Golden
Date:
May 26, 2013 21:38
Subject:
Re: RFC: Removing CGI.pm from the core distribution
Message ID:
CAOeq1c_U1ZUHMjRijPpYy-Yt1s9hKwS=E3njCBtEK-ryUf8ymg@mail.gmail.com
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.

David


--
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

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