Randy Kobes wrote:
my $srcdir = '../../../src/modules/perl'; my @names = map { "modperl_$_" } (qw(error bucket), map { "common_$_" } qw(util log));
./xs/APR/aprext/Makefile.PL: map { "common_$_" } qw(util log)); ./xs/APR/APR/Makefile.PL: map { "common_$_" } qw(util log));
Now we have two places where there is the same code, and chances are that we will not remember to update one, when fixing the other (since aprext is needed for win32 only). Therefore we need to abstract that into a function, so there is only one source to change (somewhere under modperl-2.0/lib/, most likely lib/ModPerl/Code.pm is the best fit).
Good idea - how about the following, which defines src_apr_ext() in ModPerl::Code to return the needed files:
+1
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
