[ic] [PATCH]: Interchange Makefile

Stefan Hornburg racke@linuxia.de
03 Sep 2000 17:29:38 +0200


Why the original method is broken, see the Perl documentation
for require.

Ciao
        Racke

diff -u -c -r1.1.1.5 Makefile.PL
*** Makefile.PL	2000/08/24 07:30:15	1.1.1.5
--- Makefile.PL	2000/09/03 15:48:44
***************
*** 654,662 ****
  
  	my @msgs;
  	for(@mods_to_get) {
! 		eval {
! 			require $_
! 				or die "No $_ module available.";
  		};
  		if($@) {
  			push @msgs, $@;
--- 654,661 ----
  
  	my @msgs;
  	for(@mods_to_get) {
! 	    eval {
! 		    eval "require $_" or die "No $_ module available\n";
  		};
  		if($@) {
  			push @msgs, $@;

-- 
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Coding from hell and back <---