in reply to Parsing a file
I'm not sure of your desired output. Are you trying to catch the last line containing Sbject? If you would post the desired output for the provided example input file, I'll try to find and post a solution.
Anyway, it's very likely that the $_ variable you are parsing contains one line at a time, and searching for multiple \n doesn't work.
Regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing a file
by cowboyrocks (Novice) on Apr 16, 2009 at 06:51 UTC | |
by 1Nf3 (Pilgrim) on Apr 16, 2009 at 07:15 UTC |