CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate: Re: [saurabhsharma] $Log->Read() -Multiple Files Help-: Edit Log


Jan 25, 2012, 6:23 AM

Views: 7512
Re: [saurabhsharma] $Log->Read() -Multiple Files Help-

Ya its actually still the same code im not sure why im getting a division error as well. Switching the $log idea seemed to get it past those errors but now im running into another error.

Cant call method indexes on an undefined value.

#INFO from PCAP file
foreach my $index ($log->indexes) {

I also think there something wrong with the $file part of my code because when i do a print on $file i get the same error as above but with file. I am trying to read multiple pcap files... Is this just the wrong route to go about it?

I have a working code for hard coding single pcap files into it but im trying to get it to run all files within a directory with pcap extension.

(This post was edited by jboy4 on Jan 25, 2012, 7:49 AM)

Edit Log:
Post edited by jboy4 (Novice) on Jan 25, 2012, 7:49 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives