hype-free: Parsing pcap files with Perl

Recently I was reading the blogpost on the BrekingPoint labs log about parsing pcap files with Perl and I immediately said to myself: it is impossible that there isn’t a module on CPAN, because Perl is great. Turns out I was right, there is Net::TcpDumpLog which can be combined with the NetPacket family of modules to parse the higher level protocols. Because example code is rather sparse on the POD pages of the respective modules, here is a small example to illustrate their use:

via hype-free: Parsing pcap files with Perl.

WordNet Perl Module

This WordNet module (WordNet::QueryData) is a Perl interface to the WordNet database. WordNet is a database of word meanings and lexical relationships. It contains tens of thousands of words and numerous semantic relationships for each. For example, it can tell you that a limousine is a type of a car and that a car is a type of motor vehicle. It can also tell you that car and automobile have essentially the same meaning.

via WordNet Perl Module.