You are not logged in.
Hi there, how can i find which package supplies the perl module SDL::App ?
I would have assumed it would be: perl-sdl
But upon running a simple test:
#!/usr/bin/perl
use strict;
use warnings;
use SDL::App;The program returns:
Can't locate SDL/App.pm in @INC (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at eng.pl line 6.
BEGIN failed--compilation aborted at eng.pl line 6.Next up i tried the only other perl/sdl related package from the AUR, sdl_perl-old
Assuming the syntax/module has changed... but get the same problem.
I started writing small perl/sdl/opengl graphics programs a while ago on arch and SDL::App used to work (allowing me to draw a screen). But it seems no packages want to do this anymore. [confused]
Any ideas?
"Any sufficiently advanced technology is indistinguishable from magic."
Offline
$ locate App.pm
/usr/lib/perl5/vendor_perl/SDLx/App.pm
$ pacman -Qo /usr/lib/perl5/vendor_perl/SDLx/App.pm
/usr/lib/perl5/vendor_perl/SDLx/App.pm is owned by perl-sdl 2.531-3I'm not a perl expert but it looks like you need to use
use SDLx::App;now.
Offline
Thats rather odd, but seems you are right
I noticed this page earlier it mentions SDL::App
http://sdl.perl.org/SDL-Deprecated.html
It still uses the same syntax as SDL::App, so its not a problem.
Thankyou!
Last edited by unixfreak (2011-09-26 00:02:48)
"Any sufficiently advanced technology is indistinguishable from magic."
Offline