diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-17 13:15:55 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-17 13:18:34 +0100 |
commit | 9967ad3fa13178c70afd5da77f77a4115808733d (patch) | |
tree | bc90ff5862a6ed6a596aac43a3dfac0b383fb3a0 | |
parent | 60c42dd2a1a173ec1161502762bc33ae7a1cf190 (diff) | |
download | libguestfs-9967ad3fa13178c70afd5da77f77a4115808733d.tar.gz libguestfs-9967ad3fa13178c70afd5da77f77a4115808733d.tar.xz libguestfs-9967ad3fa13178c70afd5da77f77a4115808733d.zip |
podwrapper: Define $VERSION in subclass.
The superclass sometimes uses this and will give an undefined
error if it's missing.
-rwxr-xr-x | podwrapper.pl.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/podwrapper.pl.in b/podwrapper.pl.in index 29cd8076..ac08ec8c 100755 --- a/podwrapper.pl.in +++ b/podwrapper.pl.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. |