The examples you posted won't work, each lacks a string terminator (no closing "). The crude example below works for me where there is a space in the key name.
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use Win32::TieRegistry( Delimiter => '/' ); my $value = $Registry->{ "HKEY_CURRENT_USER/Software/Microsoft/Windows +/CurrentVersion/Group Policy" } ; print Dumper $value;
In reply to Re: How to escape space in registry path?
by marto
in thread How to escape space in registry path?
by anaconda_wly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |