| [reply] [d/l] |
If the program needs to know the flavour of Windows, it can call Win32's GetOSVersion after ascertaining it's running on a Win32 machine.
| [reply] [d/l] |
Hello,
To extrapolate on what FunkyMonk said..
I had somewhat of the same question answered by Fletch here.. Re: OS400 Pace - architecture?
The $^O variable only contains the architecture the platform was built on. If you want to know on which platform it's running try using uname with backticks on a Unix platform and/or ver on a Windows box.
regexes
-------------------------
Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination are omnipotent. The slogan "press on" has solved and always will solve the problems of the human race.
-- Calvin Coolidge, 30th President of the USA.
| [reply] |
On Linux, the pseudo file /proc/version may provide flavor information. Cheers.
| [reply] [d/l] |