Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Veltro's scratchpad

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

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" ;
    

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 chilling in the Monastery: (1)
As of 2021-05-10 05:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (104 votes). Check out past polls.

    Notices?