On Saturday, Nov 16, 2002, at 10:45 US/Pacific, William H. Magill wrote:
On Friday, November 15, 2002, at 11:34 AM, Doug McNutt wrote:What is the "official" name of the operating system under MacOS neXt? Where does perl get it?
[..]
for the same reason that it 'downcases' the other OS'sI don't know why perl downcases it.
[jeeves: 1:] perl -MConfig -e 'print "$Config{osname} \n"; '
darwin
[jeeves: 2:] uname -a
Darwin jeeves.wetware.com 6.2 Darwin Kernel Version 6.2: Tue Nov 5 22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC Power Macintosh powerpc
[jeeves: 3:]
vladimir: 51:] perl -MConfig -e 'print "$Config{osname} \n"; '
solaris
vladimir: 52:] uname -a
SunOS vladimir 5.9 Generic_113184-01 sun4u sparc SUNW,UltraSPARC-IIi-Engine
vladimir: 53:]
xanana: 51:] perl -MConfig -e 'print "$Config{osname} \n"; '
linux
xanana: 52:] uname -a
Linux xanana 2.4.18-10smp #1 SMP Wed Aug 7 11:17:48 EDT 2002 i686 unknown
xanana: 53:]
xlotl: 51:] perl -MConfig -e 'print "$Config{osname} \n"; '
freebsd
xlotl: 52:] uname -a
FreeBSD xlotl 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC i386
xlotl: 53:]
to show just a few of the specific cases that I am aware of.
As for how this gets set - it gets set when your version of perl
is built for that specific OS.
ciao
drieux
---