in reply to How to flush Windows registry cache

Curiousity...did you read the documentation for Win32::TieRegistry? In it, it explicity states:
Flush( $bFlush ) Flushes all cached information about the Registry key so that future u +ses will get fresh data from the Registry. If the optional $bFlush is specified and a true value, then RegFlushKe +y() will be called, which is almost never necessary.

- Moon

Replies are listed 'Best First'.
Re: Re: How to flush Windows registry cache
by Anonymous Monk on Feb 22, 2002 at 03:36 UTC
    Yes I read the docs, and tried using Flush. It did not do anything. Sorry I forgot to mention that. Should I be doing something beyond:
    $Environment->Flush;
    Is $bFlush anything more than a variable that needs to evaluate to true to run RegFlushKey()?