http://qs321.pair.com?node_id=256290


in reply to Backward compatibility: $^O in perl 4

Why not just use
$OS_TYPE=`uname -s` $OS_VERSION=`uname -r
Seems eaiser. Update: This way there are no special cases needed in the code.