/usr/lib/perl5/SDL/Config.pm is in libsdl-perl 2.540-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | package SDL::Config;
use strict;
use warnings;
use SDL::ConfigData;
sub has {
my ( $class, $define ) = @_;
my $sdl_config = SDL::ConfigData->config('SDL_cfg');
my $n = scalar grep { $$sdl_config{$_}{'libs'}{$define} } keys %$sdl_config;
return ( $n > 0 ) ? 1 : 0;
}
1;
|