http://www.perlmonks.org?node_id=271986


in reply to Create MSWindows Registry REG_EXPAND_SZ entry

I like the idea, ++ for you. About your last update: null byte after every byte smells badly of multibyte character encoding... IIRC, XP does Unicode - that should explain the second (always null) byte if you are dealing with standard ASCII chars. Trying to manage Regedit5 strings with Perl Unicode support should work, I guess...