Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: unique data in dynamic hash

by thor (Priest)
on Nov 15, 2005 at 22:51 UTC ( [id://508838]=note: print w/replies, xml ) Need Help??


in reply to Re^2: unique data in dynamic hash
in thread unique data in dynamic hash

Well...you are using the push function and an array. If you want only one thing to be stored at that location, you'll want something like (untested):
$hoh{$component}{$cmd}{$testcase} = { testsuite_type => $testsuite_type, platform_type => $platform_type, view => $view_type }

thor

Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come

Replies are listed 'Best First'.
Re^4: unique data in dynamic hash
by rsennat (Beadle) on Nov 16, 2005 at 00:30 UTC
    this worked for me.

    thanks a lot.
    rsennat
      Now that you're over your immediate problem, I suggest reading the intro to data structures. you can access it by typing "perldoc perldsc" at the command prompt. To see what other topics are available, type "perldoc perl". By no means am I discouraging you from asking questions, though. That's how we learn!

      thor

      Feel the white light, the light within
      Be your own disciple, fan the sparks of will
      For all of us waiting, your kingdom will come

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://508838]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-24 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found