in reply to TieRegistry save/load
Use Storable
#!perl use Diagnostics; use strict; use warnings; use Win32::TieRegistry; use Data::Dumper; use Storable; my $key = $Registry->{ "HKEY_CLASSES_ROOT\\.pl\\" }; print Dumper( $key ); store $key, "foo.bar"; #write to a file my $read_key = retrieve( "foo.bar" ); #read it back print Dumper( $read_key ); $Registry->{"HKEY_CLASSES_ROOT\\.pl\\" } = $read_key;
<cite>Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd</cite>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: TieRegistry save/load
by markmm (Initiate) on Feb 28, 2002 at 18:51 UTC | |
|
Re: Re: TieRegistry save/load
by markmm (Initiate) on Feb 28, 2002 at 19:20 UTC |