Skip to content

Instantly share code, notes, and snippets.

@mishin
Created July 4, 2013 08:24
Show Gist options
  • Save mishin/5925905 to your computer and use it in GitHub Desktop.
Save mishin/5925905 to your computer and use it in GitHub Desktop.
perl -e "print $^O" MSWin32
perl -e "use English qw' -no_match_vars ';print qq{$OSNAME};"
MSWin32
perl -e "use Config;print qq{$Config{osname}\n};print qq{$Config{archname}\n};"
MSWin32
MSWin32-x86-multi-thread
perl -e "use Sys::Info::OS;my $os = Sys::Info::OS->new(%options);print $os->name( long => 1 );"
Windows XP Service Pack 3 build 2600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment