On Windows, Alien::SDL will get you zip-files containing prebuilt libs.
On Unixes you can choose between compiling libs or use libs provided by the dist. The different options on Unixes are availale when requirements are met. Like having specific libs installed.
There is some additional documentation in the Github-Wiki <https://github.com/PerlGameDev/SDL/wiki/Testing>. You definitively want to look there, if you want to know how to install SDL from the latest sources (e.g. in an unfinished, unreleased state).
Once you installed Strawberry Perl, you can access the cpan shell via the start menu.
Open up the cpan shell and type "install Alien::SDL SDL". Please follow the dialog and answer the questions to the best of your knowledge.
Once you have a newer Perl installed please use "cpan" to install Alien::SDL (and of course SDL).
Using Mac OS X, your SDL Perl script have to look like this:
#!SDLPerl use strict; use warnings; use SDL; # your code here ...
Using the wrong Perl executable, you might encounter a lot of error messages resulting in "terminate called after throwing an instance of 'NSException'". cf. the corresponding github issue <https://github.com/PerlGameDev/SDL/issues/208>.
If you would like to contribute to SDL Perl, please post a message on the mailing list:
And request access to the github repository. Or drop us a line on #sdl over at irc.perl.org
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.