Replacing for with while would save memory at no cost.
Update: Oops, not quite true. It would involve copying $1 into some other variable, so it might lose speed.
while ( $content =~ /^(Server error:\n.*?)^server info/gsm ) { my $record = $1; print $record if $record =~ /Btree/; }
In reply to Re^2: Newbie : Data mining question
by ikegami
in thread Newbie : Data mining question
by kri54sub
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |