File: synopsys.pl

package info (click to toggle)
libparse-dmidecode-perl 0.03-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 336 kB
  • sloc: perl: 1,150; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl -w

use strict;
use Parse::DMIDecode ();

my $dmi = new Parse::DMIDecode;
$dmi->probe;

printf("System: %s, %s\n",
		$dmi->keyword("system-manufacturer"),
		$dmi->keyword("system-product-name"),
	);