in reply to Re^2: Win32::TieRegistry cloning keys bug. (ArrayValues)
in thread Win32::TieRegistry cloning keys bug.

Perhaps you should consider reading the documentation for it?

ArrayValues

$oldBool= $key->ArrayValues

$oldBool= $key->ArrayValues( $newBool )

Gets the current setting of the ArrayValues option and possibly turns it on or off.

So I'm not sure why you feel "the current setting" being false justifies dieing.

- tye        

  • Comment on Re^3: Win32::TieRegistry cloning keys bug. (ArrayValues)

Replies are listed 'Best First'.
Re^4: Win32::TieRegistry cloning keys bug. (ArrayValues)
by Sioln (Sexton) on Jan 18, 2006 at 07:34 UTC
    Thank you.
    use Win32::TieRegistry; my $SOURCE=$Registry->Connect( '127.0.0.1','LMachine',{Delimiter=>"\\" +}) or die; my $REMOTE=$Registry->Connect( 'bdc','LMachine',{Delimiter=>"\\"}) or +die; my $folder="SYSTEM\\RAdmin\\"; #ArrayValues my $key_source=$SOURCE->Open($folder); $key_source->ArrayValues(1); $REMOTE->{$folder}=$key_source;
    This code works fine.