Is there a way of telling which version of MSWIN32 is being used for a perl script?
The reason I ask is that I provide a default editor as part of my GUI (it can be changed via the option menu) and I have found that notepad is under a different direcory on Vista to W2K or XP. I can check to see if the file is in a number of places and return a message box if it is not where I think it should be....but was wondering if there was a quicker solution
I have had to do different things depending on whether the OS is linux or windows...I expect that...but not between variations of windows. I thought using $^0 would be enough but apparently not
I am using Perl 5.8 (because it comes with Tk)...just for info
p.s. As an habitual vi user, I keep hitting the escape button when I finish editing and lose everything :-(
p.p.s. Question is too general to provide example code
In reply to Which MS Windows? by lantfred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |