Hi, I'm a Perl newbie and I have a job to do, but I can't do that! I'm almost crying! =( Please, someone help me?

This is my problem: I have a txt file like this Config.txt

SourceIP = 10.1.1.1 SourceMAC = 00d0047203fc IPProtocol = 7 -------------------------------------------- Then I have a PCAP file with information about packets from a network capture. In the script I need to compare the field from txt with the header of all packets and, if some match, show that packet.

Now my scrip is something like this: Script.pl

#!/usr/bin/perl -w

use strict; use warnings; use Net::PcapUtils; use Net::Pcap; use NetPacket::Ethernet qw(:strip); use NetPacket::IP; #use Config::Reader::Simple;