CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



Yuvraj
Deleted

Nov 27, 2000, 8:31 PM

Post #1 of 5 (513 views)
how to append a hash array? Can't Post

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

Post #2 of 5 (513 views)
Re: how to append a hash array? [In reply to] Can't Post

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

Post #3 of 5 (513 views)
Re: how to append a hash array? [In reply to] Can't Post

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


perlplexer
Deleted

Nov 28, 2000, 5:48 AM

Post #4 of 5 (513 views)
Re: how to append a hash array? [In reply to] Can't Post

doh :)

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


perlmonger
Deleted

Nov 28, 2000, 11:41 PM

Post #5 of 5 (513 views)
Re: how to append a hash array? [In reply to] Can't Post

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

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives