user-pic

David Oswald

  • About: daoswald [a@t] gmail [d0_t] com
Subscribe to feed Recent Actions from David Oswald

  • Steffen Mueller commented on A call to action for CPAN authors

    @James: We only broke modules that were already subtly broken. In certain circumstances, Perl would actually change the order of the hash contents (rehashing due to collisions or hash growth) and two hashes with the same content could actually have differing hash orders. It's just that it was rare and lurking to make your mission critical software fail in mysterious ways in the most unfortunate moment. You're welcome.

    On top of that, we had a one-liner that could make any unpatched Perl consume a virtually infinite amount of RAM. This was through an HTTP request if the process on the…

  • john napiorkowski commented on A call to action for CPAN authors

    I'm not sure what the confusion here is...

    AFAIK this change has been spoken about for quite a while, at least a year that I can recall. Beta and RC releases have been out with this change, and if you are a CPAN author you've likely already been getting reports about the broken test cases for months. So I can't really think its fair to jump in at such a late moment and complain about the 'decision making process'.

    A slightly backwards incompatible change was made that made already broken code slightly more obviously broken in order to fix a monumental security issue. Thi…

  • welcome.mahesh commented on A Simple Mojolicious/DBI Example

    Wonderful. I am looking for Mojolicious Application Example to understand it. This is so helpful :)

    Thanks to aristotle for his very very valuable points for a new bie.

  • Henryk Paluch commented on A Simple Mojolicious/DBI Example

    Hello!

    For Unicode support there are few fixes needed:

    Add:

    use Encode;
    plugin Charset => {charset => 'utf-8'};
    

    modify / method to:

    any '/' => sub {
      my $self = shift;
      my $rows = $self->select;
      # convert utf-8 octets -> unicode
      for my $Item ( @{ $rows } ){
          map { $_ = decode('utf-8',$_) } @{ $Item };
      }
      $self->stash( rows => $rows );
      $self->render('index');
    };
    

    Best regards

     —Henryk Paluch

  • gflynn commented on A Simple Mojolicious/DBI Example

    Before I ask a question, let me say thank you for all the examples and explanations (I see your name frequently).

    I have gotten a handle on the fundamentals of Mojolicious. The one thing I can not find any information on is, creating a schema from and existing MS SQL database then connecting.

    Everything I read is SQLite or any other version beside MS SQL. I’m starting to wonder if it’s similar to Corona SDK in that you create a sql database to store information, then push that data to your server DB.

    If anyone else has any experience or information PLEASE…

Subscribe to feed Responses to Comments from David Oswald

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 hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.