Glad it got you closer.

The "hexcodes" (I assume you mean like the "0x471ae8" in "Win32::TieRegistry=HASH(0x471ae8)") are part of the default stringification of a hashref. They may refer to a memory address, technically, but you cannot use the stringified version of the hashref to access the memory. More, it should be thought of as a unique idenitifier of a particular hash, to which the reference is referring. (Thus, if you have two hashrefs referring to the same hash in memory, they will have the same "hexcodes" in their stringification.)

"SharedTemplates" is not a key, in Windows registry terminology. It is the name of the value. "General" is a subkey, "SharedTemplates" is the name of a REG_SZ value, and "G:\Office\Word\Vorlagen" is the data in the value named "SharedTemplates". We might not like the Windows registry nomenclature... but we're rather stuck with it at this point.

Documentation for $^E and other perl builtin variables can be found online at perlvar, or using perldoc perlvar on your command line; perldoc -v '$^E' will give you the info on just that specific variable (use single quotes in linux-like systems or double quotes on the Windows commandline)


In reply to Re^5: [OT] Using Module TieRegistry? for reading and pasting registrykey into another section by pryrt
in thread [OT] Using Module TieRegistry? for reading and pasting registrykey into another section by mh88

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.