- or download this
package Foo;
use vars qw( $foo );
$foo = 1;
- or download this
#!/usr/bin/perl -w
use strict;
...
print "$Foo::foo\n";
print "$Foo::fooo\n";
- 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.