Re: writung to file On 6/21/07, usenet@davidfilmer.com  wrote:
> On Jun 21, 1:10 pm, chas.ow...@gmail.com (Chas Owens) wrote:
> >         print $out $_ unless $h{(split ':')[0]}++;
>
> Just curious - why are you coding around possible duplicates?  Can a
> passwd file have duplicate entries?
>
This is a part of a larger code which does other things such as
merging a few /etc/passwd files together by appending at the bottom
and sort unique then place it back on /etc/passwd.

-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


