Not sure I understand this:
for my $i (0 .. $#file)
Is the #file a reference to my data file?
So then, for my $i (0 .. $data.log)
Thank you.
Sorry for my ignorance.
In reply to Re^2: How can I print three lines before pattern match?
by neurotoxx
in thread How can I print three lines before pattern match?
by neurotoxx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |