in reply to How to read pcap data from stream not from files.
while ( defined( my $line = <STDIN> ) ) { process($line); }
Also, please wrap your code in <c>...</c> for better legibility.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to read pcap data from stream not from files.
by almut (Canon) on May 06, 2010 at 14:45 UTC | |
by afoken (Chancellor) on May 09, 2010 at 05:34 UTC | |
|
Re^2: How to read pcap data from stream not from files.
by Anonymous Monk on May 06, 2010 at 14:19 UTC | |
by AR (Friar) on May 06, 2010 at 14:29 UTC | |
by darcy95 (Initiate) on May 06, 2010 at 14:38 UTC |