Re: Is that possible?

[email protected] ("David E. Wheeler")
Newsgroups perl.module.build
Message-ID <[email protected]>
On Sep 21, 2008, at 18:11, Ken Williams wrote:

>> That was actually do_create_readme. However, in my case it was  
>> easier to
>> override _main_docfile.
>
> But _main_docfile() is a private undocumented method, which can (and
> very very likely will) change or disappear in future releases of M::B.
> It's fine with me if you override it, but be aware that you're way
> into unsupported-land.

Frankly, there are a lot of private, undocumented methods that I would  
like to see made public and documented. Just taking a quick look,  
these methods look to me like they'd be useful as public, override- 
able methods:

_backticks()
_pod_parse()
_write_data()
_enum_prereqs()
_home_dir()
_find_by_file_type()
_find_pods()
_add_to_manifest()
_do_in_dir()
_main_docfile()
_write_default_maniskip()
_files_in()
_read_manifest()
_resolve_module_versions()
_relpaths()

Some of these I've overridden, some I have not. Maybe some should stay  
private, but surely for others there's no harm in making them public,  
yes?

Best,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.