use Foo; # defines Foo::new() among others sub Foo { "Oh no, Mr. Bill!" } $x = new Foo::;