Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PBML] Re: Dynamic multi-level hashes

Expand Messages
  • tuomas99@yahoo.com
    Thanks, Brian :) Works great. In matter of fact, I tried to use eval before posting the question but not in quite correct place. I only tried to eval $key_a,
    Message 1 of 3 , Jan 29, 2002
      Thanks, Brian :)
      Works great. In matter of fact, I tried to use eval
      before posting the question but not in quite correct
      place. I only tried to eval $key_a, not the whole
      thing.
      > eval('$href_a->' . $key_a . ' = "value_a"');
      >
      > # or to just get the value:
      > print eval('$href_a->' . $key_a), "\n";
      > - Brian


      __________________________________________________
      Do You Yahoo!?
      Great stuff seeking new owners in Yahoo! Auctions!
      http://auctions.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.