http://www.perlmonks.org?node_id=1005113


in reply to Re^2: Get version of installed OS
in thread Get version of installed OS

True, though you didn't specify which OS you were using when you posted the question ;)

Update: I see you've just changed your question to specify OS. It'd make more sense if you'd posted that as an update to your post, like I've done here.