in reply to how do I use Win32::TieRegistry in a multi-platform program?

Try putting our $Registry; as the first thing inside the if ($WINDOWS) (untested and works).

And BTW, this question has been asked before: Conditional use of Win32::TieRegistry

Replies are listed 'Best First'.
Re^2:how do I use Win32::TieRegistry in a multi-platform program?
by perltux (Monk) on Mar 01, 2018 at 21:55 UTC
    many thanks, I can confirm too that your solution works! I don't know how I missed the other thread, I did search for this (with google) before posting here.