# Next line is different, explicitely say we want to use foo unqualified (without Foo::) use Foo qw(foo); use strict; foo; # We could also have listed $c in the import list and then use plain $c # But let's instead show you can still access it by qualifying print $Foo::c;