Re: FrozenBubble updates and Questions

[email protected] (Kartik Thakore)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Thanks

I was considering this but I wasnt sure if they were equivalent.  
Guillaume, this should not be a problem right?

Kartik Thakore

On 2010-07-02, at 3:02 PM, chromatic <[email protected]> wrote:

> On Thursday 01 July 2010 at 06:54, Guillaume Cottenceau wrote:
>
>>> if 0 is deprecated and should not be used. But I have reverted back.
>>
>> Why not. My point is either leave it, or change it properly. But
>> changing it by breaking the feature it is currently performing is not
>> too good.
>
> These are easy to fix.  Hoist the lexicals into a new outer scope by  
> changing:
>
>    # deprecated
>    sub foo
>    {
>        my $x if 0;
>    }
>
> ... to:
>
>    {
>        my $x;
>        sub foo { ... }
>    }
>
> -- c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.