in reply to Re^2: How to read pcap data from stream not from files.
in thread How to read pcap data from stream not from files.

You're right, I made a bad assumption. Is there a line delimiter in the pacp format? If so, you can add local $/ = $delimiter;. Note that this also changes the behavior of chomp in a predictable way.

Replies are listed 'Best First'.
Re^4: How to read pcap data from stream not from files.
by darcy95 (Initiate) on May 06, 2010 at 14:38 UTC
    Unfortunately, pcap is a binary format, so it doesn't include any ascii (text) delimiter. thanks anyway.