On Jun 16, 2004, at 2:25 PM, Naser Ali wrote:
Thanks James,
I totally agree with you and appreciate your comments.
I was going to refine the whole code by putting in better logic, naming
convention, and error handling. I just posted the code baically to
share the
basic logic of handling the situat
e.
Thanks
-Original Message-
From: James Edward Gray II [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 2:02 PM
To: Naser Ali
Cc: [EMAIL PROTECTED]
Subject: Re: how to sort certain pattern from a file
On Jun 16, 2004, at 12:22 PM, Naser Ali wrote:
> Hello All,
Hello.
> Ye
ual pieces of a data line since
it looks like fixed length which generally bores me, but it should be
trivial to add parsing such that the individual values are stored back
to the data structure as well.
If you need to go the file+array route then you might want to consider
Tie::File.
http://d
On Jun 16, 2004, at 12:22 PM, Naser Ali wrote:
Hello All,
Hello.
Yesterday I posted a question asking if anyone can suggest a way of
accomplishing this. In the mean while I have comeup with a quick and
dirty
way of processing the data file and sorting it in an array. Once it is
sorted, then, I can
uot;Index[$y] > $array2[$y]\n";
}
print "FIRST--> $FIRST and LAST--->$LAST\n";
-
-Original Message-
From: Naser Ali [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 4:22 PM
To: [EMAIL PROTECTED]
Subject: how to sort certain pattern from a
Below is a sample report. I have been able to only capture lines between
"Intance Name" and "System totals", but here is my delima.
The menus on the report are repeated several times. For example, the line
starts with "Instance Name" appears twice.
I only want to capture the lines between first o