The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Xen::Domain - xen domain representing object

SYNOPSIS

my $domain = Xen::Domain->new(
    'name'  => 'lenny',
    'id'    => 1,
    'mem'   => 256,
    'vcpus' => 2,
    'state' => '-b----',
    'times' => 11.5,
);

print $domain->name, ' uses ', $domain->mem, 'MB of memory.', "\n";

DESCRIPTION

Object module representing Xen domain.

PROPERTIES

name
id
mem
vcpus
state
times

METHODS

new()

Object constructor.

AUTHOR

Jozef Kutej