jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:
When I run the following code:
Why do I get an array being returned? I take it that the path as returned is doubly delimited to escape the \, but why in a record with single quotes if that is the case?#!/usr/bin/perl -w use strict; use Data::Dumper; use Win32::TieRegistry( Delimiter=>"/", ArrayValues=>1); $Registry->Delimiter("/"); my $swKey = $Registry->{"CUser/Software/"}; my $pamKey = $swKey->{"Pamela/Settings/1.0/"}; my $vmDir = $pamKey->{ "m_voiceMessagePath" }; print Dumper $vmDir;
Or is it just Friday and I am being dumb?
$VAR1 = [ 'C:\\Documents and Settings\\johnday.MERCURY\\My Documents\\Pamela\\Vo +icemsg\\', 1 ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::TieRegistry question
by ikegami (Patriarch) on Mar 17, 2006 at 21:06 UTC | |
|
Re: Win32::TieRegistry question
by davidrw (Prior) on Mar 17, 2006 at 21:01 UTC |