mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
podwrapper: Define $VERSION in subclass.
The superclass sometimes uses this and will give an undefined error if it's missing.
This commit is contained in:
@@ -255,8 +255,9 @@ SUBCLASS: {
|
||||
# Subclass Pod::Simple::XHTML. See the documentation.
|
||||
package Podwrapper::XHTML;
|
||||
|
||||
use vars qw(@ISA);
|
||||
use vars qw(@ISA $VERSION);
|
||||
@ISA = qw(Pod::Simple::XHTML);
|
||||
$VERSION = $package_version;
|
||||
|
||||
# Pod::Simple::XHTML returns uppercase identifiers, whereas the
|
||||
# old pod2html returns lowercase ones.
|
||||
|
||||
Reference in New Issue
Block a user