Alien-FLTK
view release on metacpan or search on metacpan
lib/Alien/FLTK.pm view on Meta::CPAN
use warnings;
use File::ShareDir qw[dist_dir];
use File::Spec::Functions qw[catdir canonpath];
use JSON::Tiny qw[decode_json];
use File::Slurp qw[read_file];
use lib '../../blib/lib', '../blib/lib', 'blib/lib', 'lib';
sub new {
my ( $class, $overrides ) = @_; # XXX - overrides are unsupported
return
bless decode_json(
read_file( canonpath( catdir( dist_dir('Alien-FLTK'), 'config.json' ) ) ) ), shift;
}
sub include_dirs {
my ($self) = @_;
return canonpath( catdir( dist_dir('Alien-FLTK'), 'include' ) );
}
sub library_path {
my ($self) = @_;
( run in 1.189 second using v1.01-cache-2.11-cpan-de7293f3b23 )