Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Veltro's scratchpad

by Veltro (Hermit)
on Apr 24, 2018 at 09:50 UTC ( [id://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
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-25 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found