The switch is just a way to associate the hash addresses with a descriptive string. Perhaps not the bast way but the mystery is that I get the following.
The loops are referencing the same hash but what I can't explain is why only the first loop works?

0 --HASH(0x18b73bc) Data_Directories_fetch 1 --HASH(0x18a50f0) Data_Directories_erase 2 --HASH(0x18b7518) Program_fetch 3 --HASH(0x18b74e8) Program_erase 4 --HASH(0x555250) Configuration_and_Table_Files_erase 5 --HASH(0x555280) Configuration_and_Table_Files_fetch 6 --HASH(0x18b8224) Create_Database 7 --HASH(0x18b8254) Load_Database HASH(0x18b7518) /reba/shlib => Y /airreba/procs => Y /xcape/bin => Y /reba/bin => Y /airreba/tables => Y /reba/onetime => Y /xcape/bin_util => Y /reba/perlib => Y Result: HASH(0x18b7518)

Edit: g0n - code tags


In reply to Re^2: Dereferencing Mystery by Anonymous Monk
in thread Dereferencing Mystery by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.