[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: translation-check and check_trans (was: Re: Debian WWW CVS: peterk)



On Mon, Jan 15, 2001 at 08:49:54PM +0100, NAGY Viktor wrote:
> > % ./check_trans.pl
> > Can't locate MIME/Lite.pm in @INC (@INC contains: /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5 .) at ./check_trans.pl line 149.
> > BEGIN failed--compilation aborted at ./check_trans.pl line 149.
> > 
> > Um. WTH is that necessary?
> 
> Yeah, it does not have any sense to enclose the use MIME::Lite; in
> if ($opt_m) { }  statement, because it's executed at compile time.

Hmm, that sounds right. $opt_m should be undefined by default, not set to
'', too. And the verify_send function didn't check for $opt_m, so it kept
displaying "list is unknown" for me, which is kinda pointless.

I've commited these changes, sorry if it broke everything for everyone else :)

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: