You do know that if you have code in 'Foo.pm', you can put POD in 'Foo.pod', and 'perldoc Foo' fetches the POD from 'Foo.pod' instead of 'Foo.pm', don't you? That means that if you generate the .pm file at compile, you can still ship a complete .pod file.