Commit c4aec8f9 authored by Daniel P. Berrange's avatar Daniel P. Berrange

Remove duplicated DESTROY method in Sys::Virt::Domain. Make Sys::Virt::Error...

Remove duplicated DESTROY method in Sys::Virt::Domain. Make Sys::Virt::Error use strict & warnings pragmas
parent 18d8d22e
Sys::Virt ChangeLog
===================
Since 0.1.0:
- Fixed POD documentation names
- Make Sys::Virt::Error use 'strict' and 'warnings' pragmas
- Remove duplicated DESTROY sub in Domain.pm since its already
provided in the XS backend
Since 0.0.1:
- Added Sys::Virt->get_node_info mapping to virNodeGetInfo
......
......@@ -150,9 +150,6 @@ document.
=cut
sub DESTROY {
# Keep autoloader quiet
}
sub AUTOLOAD {
# This AUTOLOAD is used to 'autoload' constants from the constant()
......
......@@ -18,6 +18,8 @@ pretty much any of the Sys::Virt APIs.
package Sys::Virt::Error;
use strict;
use warnings;
use overload ('""' => 'stringify');
=item $err->stringify
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment