Why I'm scared of submitting to CPAN
User:
mcholste
Date: 2/8/2010 1:23 pm
Date: 2/8/2010 1:23 pm
Views: 486
Rating: 0
Rating: 0
Check out the absolutely scathing mailing list flame posing as documentation the AnyEvent author posts for the module AnyEvent::Impl::POE. CPAN is not a blog! I went there to see how to use AnyEvent with POE, and besides returning un-helped, learned that AnyEvent's author has some serious anger management issues! I know that AnyEvent was created as a direct rebuttal to POE, but seriously, could we please keep the personal attacks against other CPAN authors to a minimum?
That aside, does anyone know how to do any AnyEvent-style condition variable in native POE? I'm writing a wrapper for PoCo::PreforkDispatch which will allow me to asynchronously go to several states before returning in the wrapper. I need the wrapper to wait until it's posted back to before returning.
--Martin
That aside, does anyone know how to do any AnyEvent-style condition variable in native POE? I'm writing a wrapper for PoCo::PreforkDispatch which will allow me to asynchronously go to several states before returning in the wrapper. I need the wrapper to wait until it's posted back to before returning.
--Martin
Re: Why I'm scared of submitting to CPAN
User:
jt
Date: 2/8/2010 7:12 pm
Date: 2/8/2010 7:12 pm
Views: 0
Rating: 0
Rating: 0
Marc and Rocco have a long and sordid history of flame wars with each other. They can't stand each other. They're also somewhat reclusive, rarely even making public appearances let alone doing any public speaking.
Anyway, yeah POE basically is a callback based event system. AnyEvent can handle callbacks as well. Any of the event watchers has a callback associated with it. Instead of using named methods like POE for callbacks, AnyEvent uses subroutine references, however you could simulate it by doing:
my $io_watcher = AnyEvent->io(
fh => $file_handle_to_watch,
poll = > 'r',
cb => sub {
call_some_sub_here(@_);
},
);
On Feb 8, 2010, at 1:23 PM, <madtalk@madmongers.org> <madtalk@madmongers.org> wrote:
mcholste wrote:
Check out the absolutely scathing mailing list flame posing as documentation the AnyEvent author posts for the module AnyEvent::Impl::POE. CPAN is not a blog! I went there to see how to use AnyEvent with POE, and besides returning un-helped, learned that AnyEvent's author has some serious anger management issues! I know that AnyEvent was created as a direct rebuttal to POE, but seriously, could we please keep the personal attacks against other CPAN authors to a minimum?
That aside, does anyone know how to do any AnyEvent-style condition variable in native POE? I'm writing a wrapper for PoCo::PreforkDispatch which will allow me to asynchronously go to several states before returning in the wrapper. I need the wrapper to wait until it's posted back to before returning.
--Martin
Madison Area Perl Mongers - MadMongers
http://www.madmongers.org
JT Smith
ph: 703-286-2525 x810
Create like a god, command like a king, work like a slave.
Re: Why I'm scared of submitting to CPAN
User:
Steve_p
Date: 2/22/2010 8:17 pm
Date: 2/22/2010 8:17 pm
Views: 0
Rating: 0
Rating: 0
Yeah, Marc is a very excellent programmer. His patches that I've
applied to the Perl core are excellent and I use JSON::XS everyday.
That said, his tact can sometimes be lacking. People will always have
opinions and sometimes people will express them in ways that aren't
very friendly. I wouldn't, however, let that prevent me from
contributing to any project.
Steve
On Mon, Feb 8, 2010 at 1:23 PM, wrote:
> mcholste wrote:
>
> Check out the absolutely scathing mailing list flame posing as documentation
> the AnyEvent author posts for the module AnyEvent::Impl::POE. CPAN is not a
> blog! I went there to see how to use AnyEvent with POE, and besides
> returning un-helped, learned that AnyEvent's author has some serious anger
> management issues! I know that AnyEvent was created as a direct rebuttal to
> POE, but seriously, could we please keep the personal attacks against other
> CPAN authors to a minimum?
>
> That aside, does anyone know how to do any AnyEvent-style condition variable
> in native POE? I'm writing a wrapper for PoCo::PreforkDispatch which will
> allow me to asynchronously go to several states before returning in the
> wrapper. I need the wrapper to wait until it's posted back to before
> returning.
>
> --Martin
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>
applied to the Perl core are excellent and I use JSON::XS everyday.
That said, his tact can sometimes be lacking. People will always have
opinions and sometimes people will express them in ways that aren't
very friendly. I wouldn't, however, let that prevent me from
contributing to any project.
Steve
On Mon, Feb 8, 2010 at 1:23 PM, wrote:
> mcholste wrote:
>
> Check out the absolutely scathing mailing list flame posing as documentation
> the AnyEvent author posts for the module AnyEvent::Impl::POE. CPAN is not a
> blog! I went there to see how to use AnyEvent with POE, and besides
> returning un-helped, learned that AnyEvent's author has some serious anger
> management issues! I know that AnyEvent was created as a direct rebuttal to
> POE, but seriously, could we please keep the personal attacks against other
> CPAN authors to a minimum?
>
> That aside, does anyone know how to do any AnyEvent-style condition variable
> in native POE? I'm writing a wrapper for PoCo::PreforkDispatch which will
> allow me to asynchronously go to several states before returning in the
> wrapper. I need the wrapper to wait until it's posted back to before
> returning.
>
> --Martin
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>