I am stuck in program which need to build a hash of unknown number of keys which we will enter or give. If there would be a push function we can make loop and increase its size.But how will be it possible with hash.
PhoenixInsilico
0
Newbie Poster
Recommended Answers
Jump to PostThis doesn't make any sense. When you say "an unknown number of keys" what are you talking about?
I mean:
$hash{$key}=$value;
Why would you need a push?
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.