4

Possible Duplicate:
Suggest some good MVC framework in perl

Are there any frameworks for Perl web programming that uses MVC or something like that? I'm asking this because I'm a C# developer, and I'm used with things like Web Forms and ASP.NET MVC, and, until now, all my research on the subject brought me resources about CGI programmming. Is it still the only way to do web applications in Perl?

Community
  • 1
  • 1
Raphael
  • 1,847
  • 1
  • 17
  • 29
  • 4
    Have a look at this previous question - http://stackoverflow.com/questions/45470/suggest-some-good-mvc-framework-in-perl – arunkumar Sep 02 '11 at 13:05
  • I don't see this question adding anything that's not already there in http://stackoverflow.com/questions/45470/suggest-some-good-mvc-framework-in-perl... voting to close – Zaid Sep 02 '11 at 16:29

3 Answers3

11

Yes, there are, and perhaps many, but the first that comes to mind is Catalyst.

Igor Zinov'yev
  • 3,676
  • 1
  • 33
  • 49
  • All frameworks cited are great examples, but the answer is for the Catalyst, wich is the most popular and used one. – Raphael Sep 02 '11 at 14:02
  • Be sure to check the linked question, there are some frameworks that are not listed here, maybe you will find something that suits your needs more than Catalyst. – Igor Zinov'yev Sep 02 '11 at 17:06
9

Have a look at Mojolicious.

Francisco R
  • 4,032
  • 1
  • 22
  • 37
8

Perl Dancer is an interesting looking web application framework in Perl. You can read about comparisons with this and the more established Catalyst in this related question

The Dancer "Hello World" looks like this...

#!/usr/bin/env perl
use Dancer;

get '/' => sub {
    "Hello World!"
};

dance;

..and is executed like this...

$ perl bin/app.pl &
...
$ curl http://localhost:3000/
Hello world!
Community
  • 1
  • 1
Paul Dixon
  • 295,876
  • 54
  • 310
  • 348