Skip Menu |

This queue is for tickets about the Pod-Parser CPAN distribution.

Report information
The Basics
Id: 81244
Status: rejected
Priority: 0/
Queue: Pod-Parser

People
Owner: Marek.Rouchal [...] gmx.net
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.51
Fixed in: (no value)



Subject: Lighter Pod::Usage by removing Pod::Select dependency
I'm building a program that embeds Pod::Usage thanks to App::FatPacker. Despites Pod::Usage being in core since 5.6 I need to embed Pod::Usage because the dirty perl doesn't have it. This is the perl bundled with msysgit (Git for Win32). My problem is that Pod::Usage dependency are quite huge. However I see some space for improvement: - Pod::Usage uses Pod::Select because it calls its _compile_section_spec() function - Pod::Select loads Pod::Parser, but _compile_section_spec() doesn't need it So it would be helpful if the _compile_section_spec() function was moved to a separate (private?) module and then the dependency of Pod::Usage on Pod::Select be removed. Besides my personnal use case I think that could help improve Pod::Usage speed as it would avoid to compile both Pod::Select and Pod::Parser without even using them. -- Olivier Mengué - http://perlresume.org/DOLMEN PS: For more information about my program, see https://github.com/dolmen/github-keygen
Pod::Usage is about to be refactored such that it is fully based on Pod::Simple and no more Pod::Parser and/or Pod::Select. However, this will not happen in the context of the Pod-Parser distribution.