http://www.perlmonks.org?node_id=33698


in reply to RE: RE: extract uniques and sort (thanks. 1WTDI)
in thread extract uniques and sort

"consider std Unix sort and uniq..."

Thanks for the suggestion Fastolfe.   I considered that but the snippet is the tail end of a (still modest) 95 line script using Net::Telnet::Cisco to query LAN switches for CDP neighbors.   Number of switches is under 500 at my current company, so performance isn't really an issue.

Could still be a viable option, but I want do what as much as I can within the script itself, and without using system calls.
    cheers,
    ybiC

  • Comment on RE: (3) extract uniques and sort (just part of script)