Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] [PATCH]: Interchange Makefile



******    message to minivend-users from Stefan Hornburg <racke@linuxia.de>     ******


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 <--- 
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: