use Win32::TieRegistry( Delimiter=>"/" ); my opt1 = $Registry->{"CUser/Control Panel/Desktop/TileWallpaper"} || +die $^E; my opt2 = $Registry->{"CUser/Control Panel/Desktop/WallpaperStyle"} || + die $^E;
The full error is "The system could not find the environment option that was entered". I am baffled at this error because the key does exist. I looked at it with regedit. Furthermore, I am logged in as Administrator and running the script as such. I can't see how this could possibly be a permissions problem. What's weirder is that the script is finding the first key with no problem. What am I missing?
In reply to TieRegistry problem by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |