Help for this page

Select Code to Download


  1. or download this
    package Foo;
    
    use vars qw( $foo );
    
    $foo = 1;
    
  2. or download this
    #!/usr/bin/perl -w
    
    use strict;
    ...
    
    print "$Foo::foo\n";
    print "$Foo::fooo\n";
    
  3. or download this
    Name "Foo::fooo" used only once: possible typo at usefoo.pl line 7.
    1
    Use of uninitialized value in concatenation (.) or string at usefoo.pl
    + line 7.