ExtUtils::FakeConfig - override %Config values on-the-fly
use ExtUtils::FakeConfig cc => 'gcc', make => 'gmake';
This module is basically an hack to be used in Makefile.PL invocation: create a driver module like
package my_Config: use ExtUtils::FakeConfig cflags => '-lfoo -O14', ld => 'g++'; 1;
and invoke
perl -Mmy_Config Makefile.PL
ExtUtils::FakeConfig->import( name1 => value1, name2 => value2 );
Usually called through use(); overrides values from %Config.
my $executable = ExtUtils::FakeConfig::find_program( $program1, $program2 );
Returns the absolute path of the first of the programs given as arguments found in the program search path.
Mattia Barbon <mbarbon@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install ExtUtils::FakeConfig, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ExtUtils::FakeConfig
CPAN shell
perl -MCPAN -e shell install ExtUtils::FakeConfig
For more information on module installation, please visit the detailed CPAN module installation guide.