Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions util/perldoc-bug
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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();
Expand Down