Update Perl Cheat Sheet
  • The current cheat sheet only informs about Dancer, but one can run any PSGI application at /www/perl/bin/app.pl. You may better link to http://plackperl.org/#frameworks, to http://en.wikipedia.org/wiki/PSGI, and even given a simple example:

    #!/usr/bin/env perl
    use strict;
    my $counter = 0;
    my $app = sub {
    my $env = shift;
    return [ '200',
    [ 'Content-Type' => 'text/plain' ],
    [ "Hello World, number $counter!" ] ];

    Nothing against frameworks such as Dancer but being able to also play around with PSGI may also attract programmers.
  • done I have updated the cheat sheet. Thank you for the suggestions !

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook


Share Me

  • Please share this topic with your friends. Click any of the icons below:
  • stumbleupon
  • Twitter
  • facebook
  • myspace
  • technorati
  • reddit
  • fark
  • email