user-pic

mstplbg

  • About: I blog about Perl, obviously.
Subscribe to feed Recent Actions from mstplbg

  • http://openid.prettybrd.com/leedo commented on AnyEvent and Dancer: CondVars

    Sorry, I missed your reply to this. That likely isn't working because the timer is going out of scope and being canceled. You can fix this by assigning it to a scalar like this:

    
    my $app = sub {
      my $env = shift;
      return sub {
        my $respond = shift;
        my $t; $t = AnyEvent->timer(after => 1, cb => sub {
          undef $t;
          $respond->([200, [], ["hello world!"]]);
        });
      };
    };
    
  • AnyEvent commented on Long-running requests with Progress Bar in Dancer / AnyEvent

    Firstly, you missed an end ")" in your code example.
    The most important thing is you don't even mention that your example code requires Twiggy to work. Same thing happens in your Dancer::Plugin::Progress document on CPAN.
    I did notice your previous post which mentioned how you glue the AnyEvent and Dancer after hours of investigation.
    Anyway, thank you for sharing the inspiration of "Progressing Bar".

  • AnyEvent commented on Long-running requests with Progress Bar in Dancer / AnyEvent

    Firstly, you missed an end ")" in your code example.
    The most important thing is you don't even mention that your example code requires Twiggy to work. Same thing happens in your Dancer::Plugin::Progress document on CPAN.
    I did notice your previous post which mentioned how you glue the AnyEvent and Dancer after hours of investigation.
    Anyway, thank you for sharing the inspiration of "Progressing Bar".

  • AnyEvent commented on Long-running requests with Progress Bar in Dancer / AnyEvent

    Firstly, you missed an end ")" in your code example.
    The most important thing is you don't even mention that your example code requires Twiggy to work. Same thing happens in your Dancer::Plugin::Progress document on CPAN.
    I did notice your previous post which mentioned how you glue the AnyEvent and Dancer after hours of investigation.
    Anyway, thank you for sharing the inspiration of "Progressing Bar".

Subscribe to feed Responses to Comments from mstplbg

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.