Dear all,
I have tried various things, and read and searched the Camel book, the Llama
book, and another Perl reference to no avail. Your help would be much
appreciated. I want to be able to divide up a text file by using specific
words in the text, in other words, I'd like to be able to tell the script
to:
Read file ./FILE, and from that file, create an array that starts
from word (YYYY) and ends in word (ZZZ) as it reads from left to right.
This is a text file with a lot of useless information, and I only need a
specific part of it that is never in the same place (thus eliminating the
use of other functions that can start at static points of a file). I have
also tried using "split" but I didn't get much love because it looks for
recurring characters, and not for a starting and an end point. It seems
like the problem might lie with manipulating a regular expression, but the
problem becomes how do you tell the expression to START at a certain point,
and END at another, FROM LEFT to RIGHT. Any help would be much
appreciated!
Paul
Paul Jasa
<<...OLE_Obj...>>
Network Operations Center
San Jose, California
408-281-5295
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The information in this email is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
email by anyone else is unauthorized.
If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on
it, is prohibited and may be unlawful.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~