NAME
ExtUtils::FakeConfig - override %Config values on-the-fly
SYNOPSIS
use ExtUtils::FakeConfig cc => 'gcc', make => 'gmake';
DESCRIPTION
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
FUNCTIONS
import
ExtUtils::FakeConfig->import( name1 => value1, name2 => value2 );
Usually called through use(); overrides values from %Config.
find_program
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.
AUTHOR
Mattia Barbon <mbarbon@cpan.org>
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.