[ic] [interchange] Eval the Encode::PERLQQ module, to avoid errors when it and Encode are not present

Jon Jensen jon at endpoint.com
Thu Jun 28 16:46:24 UTC 2012


On Wed, 27 Jun 2012, David Christensen wrote:

>> +	eval {
>> +		require Encode::PERLQQ;
>> +		$Have_encode = 1;
>> +	};
>
> I believe PERLQQ is a symbol (constant) in the Encode package, not a 
> package itself, so I don't think this is actually testing for what's 
> intended, and would in fact never succeed. Or am I missing something?

Sure looks that way to me in a quick isolated test script.

Josh, did you ever see $Have_encode get set?

David, you need to start testing this stuff *before* we merge it to 
master. :)

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/
+1 507-399-0057



More information about the interchange-users mailing list