Home: Perl Programming Help: Beginner:
how to append a hash array?



Yuvraj
Deleted

Nov 27, 2000, 8:31 PM


Views: 1218
how to append a hash array?

Hi,
I am having a hash array initialised in a function and i want to append that hash array when ever that function is called.How can i do that.
Now the problem is that i get only the last data in that hash array ie the array is getting overwritten every time i call that function.Is there any method for hash array as a file opening in append mode
Will you please help me to solve this problem.It will be a great help if you could give me a response as soon as possible.
Thanking You in Advance.



perlmonger
Deleted

Nov 28, 2000, 12:49 AM


Views: 1218
Re: how to append a hash array?

sir try these links.you got your answer. http://hrg.dhtp.kiae.ru/corvin/perlbs/cookbook/ch05_08.htm http://moose.qx.net/perldocs/perldsc.html



perlmonger
Deleted

Nov 28, 2000, 3:23 AM


Views: 1218
Re: how to append a hash array?

 http://www.perlmonks.org/index.pl?node_id=38849&lastnode_id=864


perlplexer
Deleted

Nov 28, 2000, 5:48 AM


Views: 1218
Re: how to append a hash array?

doh :)

[This message has been edited by perlplexer (edited 11-28-2000).]


perlmonger
Deleted

Nov 28, 2000, 11:41 PM


Views: 1218
Re: how to append a hash array?

pandhe kannirilente
%hash{PD}-'rangoli';