use strict; use warnings; use DBI; my $dbh = DBI->connect('dbi:WMI:'); my $sth = $dbh->prepare('SELECT * FROM Win32_ComputerSystemProduct'); $sth->execute(); while (my @row = $sth->fetchrow) { print $row[0]->{UUID}, "\n"; }
In reply to Re: running command line from Perl
by soonix
in thread running command line from Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |