[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Omaha.pm] Another 10m ad-hoc report
> Behalf Of Andy Lester
> > @l = split /\|/;
> > $count{$l[2]}{keys}{$l[4]} = 1;
> > $count{$l[2]}{lines}++;
>
> Using @l (el) looks a lot like @1 (one). It makes it very
> hard to read.
Yes. That's how I protect my company's Intellectual Property. :)
j
(Seriously though, good point. @l is short for @line. As in a line of
the file. I do that all the time, but I guess I shouldn't. I wonder if
that's in Conway's Perl Best Practices book? :) thx.)