Subject: Re: CVS commit: pkgsrc/pkgtools/pkglint/files
To: Roland Illig <>
From: Christoph Badura <>
List: pkgsrc-changes
Date: 09/20/2006 21:51:55
On Mon, Sep 18, 2006 at 10:07:21AM +0000, Roland Illig wrote:
> The cause for the memory leak was that I wrote
> 	my ($result) = @_;
> instead of
> 	my ($result) = ($1);
> after successfully matching a regular expression.

And if you wrote that in the natural way as

	my $result = $1;

Perl wouldn't have to create a list and figure out if it can optimise
it away.