Please bottom post...
> Thanks for your reply Joseph, I am reading perlref now. If you can offer
> some pointers on how to access the key value pairs of the reference object
> %item. I would appreciate it.
>
May I also suggest the little easier reading of,
perldoc perlreftut
perldoc perldsc
William Martell wrote:
>
> I am trying to work with the code I have to extract fields from a text file
> report, and write the values into excel.
>
> I am having trouble.
>
> When I get to push @order_detail, %item
Looking at your code, you mean
push @order_detail, \%item
> I understand that t
while(my($key,$val)=each %item){
#do stuff
}
HTH,
José.
-Original Message-
From: William Martell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 6:46 PM
To: R. Joseph Newton; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Fixed Length Text Extract, Write to Excel
ll" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 07, 2004 11:20 AM
Subject: Re: Fixed Length Text Extract, Write to Excel
> William Martell wrote:
>
> > Hello All,
> >
> > I am trying to work with the code I
William Martell wrote:
> Hello All,
>
> I am trying to work with the code I have to extract fields from a text file report,
> and write the values into excel.
>
> I am having trouble.
>
> When I get to push @order_detail, %item
> I understand that this is pushing an associative array onto a list.