thronecode has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, Perl addicts.

Today I've been struggling to get SDL Perl working here, but with no success. Despite the fact that I'm too skilled, and my super powers are not something easily found on your galaxy, This error got me.

I went to the main SDL perl dir where Build.PL is located and did:

perl Build.PL

But failed:

Can't use an undefined value as an ARRAY reference at make/lib/SDL/Build.pm line 181.

In my planet we code using a language called PHORMALIS, capable of compiling code into a real being, but even with all my 200 year experience with organic programming, I could find a way to make this work.

Your intergalactic Perl lover fellow needs some help!

PS. We have windows here and I want to use Perl to make games, yeah, they are culture here in ZERG-227, my planet.

Thank you very much and HAZGÄRZJE! (see you)

Replies are listed 'Best First'.
Re: Fail attempting to install SDL_Perl-v2.2.6 on Windows 7
by syphilis (Archbishop) on May 09, 2016 at 06:20 UTC
    A while back I placed binaries of SDL-2.546 (latest version) on my sisyphusion repo.

    They're still there, so try (updated):
    ppm install http://www.sisyphusion.tk/ppm/Class-Inspector.ppd --force ppm install http://www.sisyphusion.tk/ppm/File-ShareDir.ppd --force ppm install http://www.sisyphusion.tk/ppm/Capture-Tiny.ppd --force ppm install http://www.sisyphusion.tk/ppm/Alien-SDL.ppd --force ppm install http://www.sisyphusion.tk/ppm/SDL.ppd --force
    If you strike problems with that, please let me know - and also provide the output of perl -V

    Note that it will install a large number of DLL files (needed by SDL) into your perl/site/bin/SDL directory (creating the SDL directory in the process if it's not already there.)
    That directory therefore needs to be in your PATH environment variable.

    If you're running recent Strawberry Perl then I think that running cpan -i SDL should also work.

    Cheers,
    Rob