anaconda_wly has asked for the wisdom of the Perl Monks concerning the following question:
It's nearly copied from CPAN help, but when run only show "can't find..."message. I'm using Windows7. Anyone help? Thanks!
use Win32::TieRegistry( Delimiter => '/' ); sub isExist{ my $tips= $Registry->{"HKEY_LOCAL_MACHINE/Software/Microsoft/"} or die "Can't find the Windows tips: $^E\n"; foreach( keys %$tips ) { print "$_: ", $tips->{$_}, "\n"; } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Read registry error
by brap (Pilgrim) on Oct 29, 2012 at 17:30 UTC | |
by anaconda_wly (Scribe) on Oct 31, 2012 at 05:22 UTC | |
by sundialsvc4 (Abbot) on Oct 29, 2012 at 20:27 UTC | |
Re: Read registry error (no tips)
by tye (Sage) on Oct 30, 2012 at 02:20 UTC | |
by anaconda_wly (Scribe) on Oct 31, 2012 at 08:28 UTC | |
Re: Read registry error
by Anonymous Monk on Oct 29, 2012 at 16:22 UTC | |
by anaconda_wly (Scribe) on Oct 29, 2012 at 19:44 UTC | |
by Anonymous Monk on Oct 30, 2012 at 00:17 UTC |
Back to
Seekers of Perl Wisdom