Akopia Akopia Services

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

Re: [mv] [PATCH]: Interchange Makefile



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting 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, $@;

Aha. Thanks, Stefan. I forgot about that. A longstanding bug fixed.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.8220 fax 7501 <heins@akopia.com>

When the only tool you have is a hammer, all your problems tend to look
like nails.  -- Abraham Maslow
-
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: