RE: Question on handling files.

2003-09-30 Thread Bob Showalter
oleman, Douglas; [EMAIL PROTECTED] > Subject: Re: Question on handling files. > > > Douglas Holeman wrote: > > I have had a request to pull 100,000+ names from a mailing list of > > 600,000+. I was hoping to figure out a way to get perl to help me > > do this. &

Re: Question on handling files.

2003-09-29 Thread Bob Showalter
Bob Showalter wrote: > for (1..$y) { > print "$_\n" unless $_ % 1000; Whoops! You can leave the line above out. I just stuck it in there so I could see the progress through the loop. > my $i = int(rand($x)) + 1; > exists $h{$i} and redo; > $h{$i}++; > } -- To unsubscri

Re: Question on handling files.

2003-09-29 Thread Bob Showalter
Douglas Holeman wrote: > I have had a request to pull 100,000+ names from a mailing list of > 600,000+. I was hoping to figure out a way to get perl to help me do > this. > > I stumbled through this code but the problem is I just wanted to know > how to delete a line from the first list so I can be

Question on handling files.

2003-09-29 Thread Douglas Holeman
I have had a request to pull 100,000+ names from a mailing list of 600,000+. I was hoping to figure out a way to get perl to help me do this. I stumbled through this code but the problem is I just wanted to know how to delete a line from the first list so I can be sure I dont pull the same 'rando