while ( defined( my $line = <STDIN> ) ) { process($line); }
Also, please wrap your code in <c>...</c> for better legibility.
In reply to Re: How to read pcap data from stream not from files.
by AR
in thread How to read pcap data from stream not from files.
by darcy95
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |