Subject: | API change request |
This api of
my $dom = $vmm->create_domain($xml);
where $xml is an xml blob seems very un perl like
please replace or additionally allow a hash, which is the perly way of
doing things and its much less messy to program.
ie
my $dom = $vmm->create_domain(var1 => 'blah', array1 => [(1,2,3,4)]);
or maybe a hashref
my %config = (var1 => 'blah', array1 => [(1,2,3,4)]);
my $dom = $vmm->create_domain(\%config);
thanks!