Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Pod::Usage and Exporter error

by Fletch (Bishop)
on Sep 12, 2008 at 17:09 UTC ( [id://710956] : note . print w/replies, xml ) Need Help??


in reply to Pod::Usage and Exporter error

Are you sure that it's declared as a package variable (i.e. using our $VERSION or use vars qw/ $VERSION / or the like) and not lexically (my $VERSION)?

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: Pod::Usage and Exporter error
by InfiniteLoop (Hermit) on Sep 12, 2008 at 17:32 UTC
    Thanks. It looks like that parent module doesn't have an $VERSION package variable. Declaring a package variable in the parent module solved this issue. Thanks for the help.