On Sun, Jul 23, 2006 at 01:53:35PM +0200, D. Bolliger wrote:
> 
> If you want to delete entries from @file completely...
> 
> a) that _equal_ to 'foo' (and the entry does not contain a line ending):
> 
> @file=grep { $_ eq 'foo' } @file;

If I'm missing something, I blame the fact that it's only six in the
morning, but . . .

. . . shouldn't that be "ne" instead of "eq"?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: "In computer science, we stand on each other's feet."

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to