use MyStandardStuffs; my $x = new X; my $y1 = new Y; my $y2 = someExportedFunction('foo bar'); # from package Y