diff --git a/util/perldoc-bug b/util/perldoc-bug index d0b29ce..0770582 100755 --- a/util/perldoc-bug +++ b/util/perldoc-bug @@ -95,20 +95,6 @@ sub collect_env_info { return \%hash; } -sub collect_os_info { - my %hash; - - $hash{type} = $^O; - if( $osname eq 'MSWin32' and eval { require Win32; } ) { - $hash{name} = Win32::GetOSName(); - } - else { - $hash{uname} = `uname -a`; - } - - return \%hash; - } - sub collect_module_info { my %hash; @@ -132,6 +118,20 @@ sub collect_module_info { return \%hash; } +sub collect_os_info { + my %hash; + + $hash{type} = $^O; + if( $osname eq 'MSWin32' and eval { require Win32; } ) { + $hash{name} = Win32::GetOSName(); + } + else { + $hash{uname} = `uname -a`; + } + + return \%hash; + } + sub collect_pod_perldoc_info { my %hash; $hash{cwd} = getcwd();