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

Bug#187670: tag 187670 + patch



On Tue, Apr 08, 2003 at 12:21:45PM +0200, Josip Rodin wrote:
> On Mon, Apr 07, 2003 at 03:26:31PM -0700, Matt Kraai wrote:
> > +	foreach (@field) {
> > +		$newpackage{$_} = '';
> > +	}
> 
> > -			foreach (@field) {
> > -				$package{$pack}{$_} = '';
> > -			}
> > -			$package{$pack}{'source-dir'} = [];
> > -			$package{$pack}{'source-files'} = [];
> > +			$newpackage{'source-dir'} = [];
> > +			$newpackage{'source-files'} = [];
> 
> Oh and BTW, shouldn't we replace this simply with a my $newpackage = ();?
> Seems easier and cleaner to let Perl clear it out...

If it works, sure.  I don't know Perl very well.

Matt
-- 
It's most certainly GNU/Linux, not Linux.  Read more at
http://www.gnu.org/gnu/why-gnu-linux.html.



Reply to: