in reply to Re: How can I print three lines before pattern match?
in thread How can I print three lines before pattern match?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can I print three lines before pattern match?
by QM (Parson) on Aug 14, 2009 at 03:02 UTC | |
|
Re^3: How can I print three lines before pattern match?
by ikegami (Patriarch) on Aug 14, 2009 at 02:48 UTC |