On Sun, Dec 22, 2002 at 12:01:04AM -0800, Scott Beck wrote:
> Hi,
> 
> On Wed, 2002-12-18 at 07:15, Garrett Goebel wrote:
> > Attached is a patch which cleans up Kernel.pm code which calls
> > _data_ev_refcount_dec. It does the following in order of significance:
> > 
> > o  disambiguates a $_ in foreach loop
> > o  removes a few lexical variables
> > o  reduces lines of code
> > 
> 
> I looked at your patch and noticed you use:
> 
>     STATEMENT foreach EXPR
> 
> This does not work in perl <=5.00404. If I am not mistaken (and I could
> very well be) POE is suppose to work with >=5.00403.

Technically Perl versions < 5.005_03 are second-class citizens with
regards to POE support, but we'll still support them where such
support doesn't conflict with progress.

I've patched the statement-modifier foreaches, if that's the right way
to describe them, so they're the usual C<foreach BLOCK> versions now.
Thanks for pointing it out.

-- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/

Reply via email to