in reply to
Re: File Manipulation - Need Advise!
in thread
File Manipulation - Need Advise!
This solution (as the one from the original post) may not work properly unless all hostname entries were previously sorted. However, by using a hash you can deal with an unsorted list of hostnames.
Comment on
Re^2: File Manipulation - Need Advise!
Replies are listed 'Best First'.
Re^3: File Manipulation - Need Advise!
by
ysth
(Canon)
on Jan 04, 2008 at 08:50 UTC
Correct. I was taking it for granted, given the OP's code, that only consecutive duplicates should be suppressed.
--
CollegeGear.com - more than just college gear (though, yes, we have college-branded teddy bears)
[reply]
In Section
Seekers of Perl Wisdom