Hello,

if i execute a Perl SDL program (see below), then i get a strange
behavior. My programmed window appears only a very short while. But i
guess, it should stay there. A problem with SDL?

My distribution is openSUSE Linux 10.2.

:~> rpm -qa SDL*
SDL_image-1.2.5-24
SDL_ttf-2.0.8-25
SDL_mixer-1.2.7-23
SDL_perl-1.20.0-395
SDL-1.2.11-22
SDL_net-1.2.5-260

:~> rpm -qa perl*
[...]
perl-5.8.8-32
[...]

All @i586.
===
#!/usr/bin/perl
#error: execution to fast

use strict;
use warnings;

use SDL::App;

my $app = SDL::App->new
(
    -width  => 640,
    -height => 480,
    -depth  => 16,
);

#sleep 5;
exit 0;
===
Supplement: If i try to add an object with e.g. "SDL::Rect", it doesn't
appear.


Regards,

Marko

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to