Help for this page

Select Code to Download


  1. or download this
    package Foo ;
     
    use strict ;
    use warnings ;
    
    our $VERSION = '1.75' ;
    
  2. or download this
    package Bar ;
    use base 'Foo' ;
    ...
     
    use warnings ;
    use strict ; # Does not report missing 'our' before $VERSION
    
  3. or download this
    use lib '.' ;
    
    ...
    
    print "version Foo = $Foo::VERSION\n" ;
    print "version Bar = $Bar::VERSION\n" ;