Skip to content

Instantly share code, notes, and snippets.

@timo
Created April 15, 2017 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/d321ee22531c2c7a9822459b03bf6b72 to your computer and use it in GitHub Desktop.
Save timo/d321ee22531c2c7a9822459b03bf6b72 to your computer and use it in GitHub Desktop.
$sth->execute(
$grade,
$report->{name},
$report->{metainfo}{authority} || $report->{metainfo}{author} || $report->{metainfo}{auth} || '',
($report->{version} =~ /^v\d/ ? substr($report->{version}, 1) : $report->{version}),
$report->{perl}{compiler}{version},
$report->{vm}{name},
$report->{kernel}{name},
($report->{distro}{release} ne 'unknown' ? $report->{distro}{release} : $report->{distro}{version}),
($report->{kernel}{arch} ne 'unknown' ? $report->{kernel}{arch} : $report->{kernel}{bits}),
request->body,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment