package Module::With::Both::Segments; sub foo { return 1; } sub data { return <DATA>; } 1; __DATA__ wibble __END__