Great Circle Associates Majordomo-Workers
(November 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Bug & patch: writeconfig chops lines at 80 chars (revisited)
From: Dave Wolfe <dwolfe @ risc . sps . mot . com>
Date: Tue, 19 Nov 1996 11:15:59 -0600 (CST)
To: amillar @ bolis . com (Alan Millar)
Cc: majordomo-workers @ GreatCircle . COM, tibbs @ hpc . uh . edu
Reply-to: Dave Wolfe <david_wolfe @ risc . sps . mot . com>

[ dwolfe writes: ]
> 
> [ Alan Millar writes: ]
> > 
> > +	if (! $value ) { $value=" "; } 
> 
> You might note that this is necessary for Perl 4. Strictly a style
> issue, but I prefer the clearer:
> 
> 	$value = " " unless $value;	# Necessary for Perl 4

Better make that:

	$value = " " if $value eq "";	# Necessary for Perl 4

-- 
 Dave Wolfe

Indexed By Date Previous: Re: Statistics about the number of times a list is used
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Re: another bug fix to 1.94 majordomo.pl
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Indexed By Thread Previous: Re: Bug & patch: writeconfig chops lines at 80 chars
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Majordomo 1.94.1 -- the first patch
From: Chan Wilson <cwilson@slurp.neu.sgi.com>

Google
 
Search Internet Search www.greatcircle.com