In article <[EMAIL PROTECTED]>, Kevin Pfeiffer wrote:
[...]
> while (<DATA>) {
>
> chomp;
> print;
> last if /^0$/;
> }
>
> print "\n";
Whoops, too fast for my own good (points off for carelessness):
while (<DATA>) {
chomp;
print unless /^0$/;
}
print "\n";
__END__
But what I'm not sure about (being more cautious now) - could there be '0's
in the valid data? Or are they represented as '00' in hex? (Think so, but
have to look)
--
Kevin Pfeiffer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]