Re: HELP:Constants.pm breaks frozenbubble

[email protected] (JusTiCe8)
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Hi everyone,

I'm not really back to SDL devlopment yet, but I have made a little 
script to use new constants design between the two SDL releases.
It's just a matter of replacing all use of constants by sub call. It's 
work with OpenGL examples but I never tried on the "big"  Frozen Bubble 
(it was broken in debian since a long time after a sdl-perl package 
upgrade and AFAIK was never fixed).

Kartik, I'll send you what I've done, feel free to do it whatever you want.

Best regards.

David Goehrig a écrit :
> 
> 
> The "black magic" is perl5 typeglob programming 101. GV in the perl 
> internals pods. As for the behavior change there was a reason. But I 
> don't remember what it was. :)
> 
> I will take a look when my kid is asleep.
> 
> Dave
> 
> -=-=- [email protected] -=-=-
> 
> On Aug 17, 2009, at 1:04 PM, Kartik Thakore <[email protected]> 
> wrote:
> 
>> Ok I need some help with the black magic in lib/SDL/Constants.pm 
>> @EXPORT. Right now the constants can be accessed in a script that 
>> doesn't do
>> Package whutever;
>> SDL:: needs to be appended. Any help will be great.
>>
>> Kartik Thakore
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.