http://qs321.pair.com?node_id=189032


in reply to Re: Re: Unique array w/o repeated elements and still keep the original order!
in thread Unique array w/o repeated elements and still keep the original order!

I'm not sure what you mean by
while (my $line_holder = <FILE>) { foreach etc...

That is certainly != to what I wrote....
while(<FILE>){ my $line_holder = $_; #GOTCHA foreach my $val(@lines){

Which is something I do in tons of code I have written at work and it works fine?? Perhaps I am missing something?
TexasTess
"Great Spirits Often Encounter Violent Opposition From Mediocre Minds" --Albert Einstein
Waiting to see just how fast this makes it to an all time negative record...and wondering if any of the downvoters think I care :-)