A colleague of mine is programming a script that does sort of system inventory on Unix machines. For some reason that is too long to explain here, he needs the script to be backward-compatible with perl 4. A problem he's currently facing is that he can't find an analogous of the $^O variable of Perl 5.
It's been too long since I last used Perl 4... Can you help him or should he definitely resolve to capturing the output of the uname command?
Thanks in advance
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz