[EMAIL PROTECTED] wrote:
> Greetings,
> 
> I have an array with multiple rows.  Each row is a record with several
> elements.
> 
> I wish to do two things:
> 
> Read each line and print out some of the data.
> Find multiple related lines in a second array, and print out some of
> the data. 
> 
        Depending on what you are doing, I would believe that a hash using the invoice 
number would be the way to handle it. Then you would know right off how to access a 
detail hash using the invoice number and no search would need to be done. 

Wags ;)
> More specifically, in the first array is header information for an
> invoice. In the second array are detail lines related to the invoice.
> The key field tying them together is the invoice number.
> 
> Perhaps I am thinking too much like my old language, where the
> commands would be "get next" and a "seek."
> 
> Could someone point me in the right direction?
> 
> Thanks for your help.
> 
> Richard Hug



*******************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
*******************************************************


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to