windos% perl -Mv5.20 -Mstrict -MConfig -w -e "say $Config{versiononly}"
####
#!perl
use 5.20;
use strict;
use warnings;
use Config qw/config_sh/;
open my $fh, '>', '.\configlist.txt' or die $!;
print {$fh} config_sh();
close $fh;
####
windos% perldoc -D # or
windos% set PERLDOCDEBUG=9 # 0..9