Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Veltro's scratchpad

by Veltro (Hermit)
on Apr 24, 2018 at 09:50 UTC ( #1213471=scratchpad: print w/replies, xml ) Need Help??

package Foo ; use strict ; use warnings ; our $VERSION = '1.75' ;

-

package Bar ; use base 'Foo' ; $VERSION = '0.0.3'; use warnings ; use strict ; # Does not report missing 'our' before $VERSION

main.pl:

use lib '.' ; use strict ; use warnings ; use Bar ; print "version Foo = $Foo::VERSION\n" ; print "version Bar = $Bar::VERSION\n" ;
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2020-10-29 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (274 votes). Check out past polls.

    Notices?