package Foo ; use strict ; use warnings ; our $VERSION = '1.75' ; [download]
-
package Bar ; use base 'Foo' ; $VERSION = '0.0.3'; use warnings ; use strict ; # Does not report missing 'our' before $VERSION [download]
main.pl:
use lib '.' ; use strict ; use warnings ; use Bar ; print "version Foo = $Foo::VERSION\n" ; print "version Bar = $Bar::VERSION\n" ; [download]
www.com | www.net | www.org
No recent polls found