note
tobyink
<p>Maybe something like this...</p>
<c>
open my $fh, '<', 'myfile.log';
until (eof $fh) {
my @hundred_lines = grep defined, map scalar <$fh>, 1..100;
chomp @hundred_lines;
...; # do something with the lines
}
</c>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-757127">
<small><small>
<tt>perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
</tt></small></small>
</div></div>
1012306
1012306