in reply to TieRegistry - How does Flush( $bFlush ) work?
I have no idea what $bFlush is, what it means by "specified", what it means by "and a true value", or what RegFlushKey() is and why it would be necessary.If you call Flush like this $Registry->Flush; or this $Registry->Flush();, then you are not "specifying" a value. Otherwise you are. If you do pass a value, it is false if it is undefined, 0, "0", or "" (the empty string). Pretty much anything else is true
RegFlushKey is a Windows API subroutine. See regflushkey.
This doesn't give me an error, but it doesn't work:How do you know it didn't work? I don't understand what you mean when you say above "Both keys are being deleted, but the result is similar to what would happen if I deleted the second key first and the first key second."$Registry->Flush();
So, I tried this:This looks like a bug in Win32::TieRegistry. I think this
$Registry->Flush( $bFlush );
and I get this error:
Usage: $Key->Flush( $bFlush );
should bemy( $flush )= @_; @_ and croak "Usage: \$key->Flush( \$bFlush );";
my( $flush )= shift(@_(; @_ and croak "Usage: \$key->Flush( \$bFlush );";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: TieRegistry - How does Flush( $bFlush ) work?
by trout16 (Novice) on Aug 12, 2003 at 21:16 UTC | |
by Thelonius (Priest) on Aug 12, 2003 at 22:06 UTC | |
|
Re: Re: TieRegistry - How does Flush( $bFlush ) work?
by trout16 (Novice) on Aug 13, 2003 at 20:47 UTC | |
by tye (Sage) on Aug 14, 2003 at 21:28 UTC |