size limitations

2001-11-14 Thread Greg Sarsons
Is there a size limitation as to how big a scalar containing an integer can be? I've noticed some strange behavior and wonder if this could be the cause. What I've got is a perl program that parses a tcpdump file. Every minute it starts a new entry in the hash of the total traffic observed duri

getting date from STDIN problem

2001-11-09 Thread Greg Sarsons
I've got a problem with my script below. The files it is going to parse start usually 1 minute prior to midnight (newday). I really don't care about this minute before midnight so I figured I just reset the hash at new day. All that is happening is every 5 minutes a new entry is put in the h

program help -> regular expressions

2001-11-08 Thread Greg Sarsons
Hopefully someone can point/help me out. What is below is an extract of packet capture ... similar to tcpdump. What I want to do is to determine the amount of traffic a port has on it. I just plan on redirecting the output to this program. My thoughts are to maybe create a hash have the totals