Find Optiperl install path via perl?
I'm working on a plugin that will be split up into separate modules, and I need to get the path where Optiperl is installed on the local machine.
Should I dig through the registry for this, or does Optiperl expose this variable in its COM interface?
Answer:
The path to optiperl is at:
HKEY_LOCAL_MACHINE\SOFTWARE\Xarka\OptiPerl
Key: Path
And also the path to the application data folder is at
HKEY_CURRENT_USER\Software\Xarka\OptiPerl
Key: UserFolder
27.01.2004. 05:57
This article hasn't been commented yet.
Write a comment