# this will generate a compile-time error my Foo $foo = Foo->new;