user-pic

Mike

  • About: I blog about Perl.
  • Commented on Response to Ejecting CGI.pm From the Perl Core
    Thanks so much to you and Leon. I didn't know plack would not work with my version. I tried to upgrade all the way to 5.16.1 about 6 months ago, but it didn't work. These are notes from last Dec:...
  • Commented on Response to Ejecting CGI.pm From the Perl Core
    FYI only: I use Perl v5.8.0 on windows (ActiveState). When I go into ppm and type 'search plack' I get 'no matches for plack'. When I go into ppm and type 'search CGI' I get 410 different modules. I know...
Subscribe to feed Recent Actions from Mike

  • chorny commented on Response to Ejecting CGI.pm From the Perl Core

    Plack requires perl 5.8.1 which soon will be 10 years old. perl 5.8.0 is usually not recommended as it had some problems, which were fixed in 5.8.1 and 5.8.2. You should upgrade to at least perl 5.8.9, ActiveState improved ppm in that version. 5.16.3 would be better.

  • Leon Timmermans commented on Response to Ejecting CGI.pm From the Perl Core

    > I use Perl v5.8.0 on windows (ActiveState).
    That is a 10+ years old release of perl. Are you really surprised its modules are way outdated?

  • Aristotle commented on Response to Ejecting CGI.pm From the Perl Core

    Uhm, CGI and CGI.pm are not the same. Your whole argument is about CGI alone, and has nothing to do with whether you use CGI.pm for the job or not.

    You can write CGI scripts with no modules at all. CGI.pm is just a better way to write CGI scripts than nothing-at-all is. And Plack is an even better way yet.

    Both CGI.pm and Plack take care of things you’d have to do yourself if you used nothing-at-all, but Plack (with Plack::Request and some kind of templating or HTML generation module, if you don’t go for an actual web framework) is much better factored than CGI.pm and makes…

  • confuseAcat commented on Response to Ejecting CGI.pm From the Perl Core

    @raudss.us: Most sysadmins have switched away from Apache a long time ago? You mean not counting the 50%+ that are still using it?

  • Jeff Norden commented on Response to Ejecting CGI.pm From the Perl Core

    Well, I'm pretty late to this party, but I completely agree with Chris that ejecting CGI.pm is a bad idea. Like a host of the other core modules, it could certainly use a thorough housecleaning. But simply saying that something like Plack or Plack::Handler::CGI is "better" doesn't cut it unless they really provide equivalent functionality, which they don't seem to, at least to me. I certainly don't think that code is better simply because it is old, but it also isn't superior just because someone labels it as "modern."

    There are plenty of valid criticisms of of CGI.pm, but …

Subscribe to feed Responses to Comments from Mike

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.