I knew there had to be an easy way to keep the README file updated. ANd there was.

WriteMakefile(
    NAME            => 'MyModule',
    VERSION_FROM    => 'lib/MyModule.pm',
	...
    dist => {
        PREOP => 'pod2text lib/MyModule.pm > $(DISTVNAME)/README',
    },
	...
);

Now the README gets created everytime I do a nmake dist.

See more posts about: perl | All Categories