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 -- RuudThread Previous | Thread Next