use Config; BEGIN { #$^O = 'Unix'; # Test in Unix mode $Config{'osname'} = 'Unix'; warn "DEBUG: config: ",$Config{'osname'}," -- \$^O: $^O\n"; }