Re: Dereferencing hash with array value

2010-02-12 Thread Uri Guttman
> "O" == Owen writes: O> The program below works, but I don't believe I have to make the O> reference # my $svgs = \...@svgs; to get it into the hash; believe it. O> I think I should be able to do something like O> $folders{$folder} = @svgs; why do you think that should wo

Dereferencing hash with array value

2010-02-12 Thread Owen
The program below works, but I don't believe I have to make the reference # my $svgs = \...@svgs; to get it into the hash; I think I should be able to do something like $folders{$folder} = @svgs; print "$folders{Ztyx}->[3]\n"; But can't get my head around how to do it (The error message

Re: file handling

2010-02-12 Thread Robert Wohlfarth
On Fri, Feb 12, 2010 at 3:32 AM, elavazhagan perl < elavazhagan.p...@gmail.com> wrote: > *ORIGINAL CONTENT:* > > > > > > > > > > > > > > *DESIRED OUTPUT:* > > > > > > > >

Re: file handling

2010-02-12 Thread John W. Krahn
elavazhagan perl wrote: Yes, you are absolutely right.. We need to increment the line by one and field ID by 20. Whatever my be the fied id.. Thanks, OK, I give up. Does anyone else want to try eliciting a cogent and informative response? John -- The programmer is fighting against the two

Re: file handling

2010-02-12 Thread elavazhagan perl
Yes, you are absolutely right.. We need to increment the line by one and field ID by 20. Whatever my be the fied id.. Thanks, On 2/12/10, John W. Krahn wrote: > > elavazhagan perl wrote: > >> Hope,this time I will make you clear. >> >> Our script converts the original content to current output

Re: file handling

2010-02-12 Thread John W. Krahn
elavazhagan perl wrote: Hope,this time I will make you clear. Our script converts the original content to current output ,what we need is the desired output. So I take it by "line" you actually mean "Field record"? *ORIGINAL CONTENT:*

Fwd: file handling

2010-02-12 Thread elavazhagan perl
Hi, Please find the correction in my words. The script should read the original content and update and append the data to a new file upto the desired output. Thanks. -- Forwarded message -- From: elavazhagan perl Date: Feb 12, 2010 3:02 PM Subject: Re: file handling To: "John W.

Re: file handling

2010-02-12 Thread elavazhagan perl
Hope,this time I will make you clear. Our script converts the original content to current output ,what we need is the desired output. *ORIGINAL CONTENT:* *CURRENT OUTPUT:*