Skip Menu |

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

Report information
The Basics
Id: 1815
Status: open
Worked: 2 min
Priority: 0/
Queue: Pod-Perldoc

People
Owner: Nobody in particular
Requestors: bdfoy [...] cpan.org
Cc:
AdminCc:

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



Subject: perldoc switch to show module version
I have always wanted a perldoc switch that simply prints the module or document version. Any change of getting something that like? I notice that -v is still open. :)
This is fixed at least in v3.14_02 : $ perldoc -V Perldoc v3.14_02, under perl v5.010000 for MSWin32
On Tue Mar 10 10:55:02 2009, DOLMEN wrote: Show quoted text
> This is fixed at least in v3.14_02 : > > $ perldoc -V > Perldoc v3.14_02, under perl v5.010000 for MSWin32
I was thinking about something like perldoc -v Module::Foo to print the version of Module::Foo.
If I have time, I'll try to get this in for Perl 5.16. The trick is to do it with just core modules and without running the module file. We might have to graft old code into this module to get that.
On Mon Nov 14 16:16:10 2011, BDFOY wrote: Show quoted text
> If I have time, I'll try to get this in for Perl 5.16. The trick is to > do it with just core modules and > without running the module file. We might have to graft old code into > this module to get that.
Brian, do you have an idea how to approach this problem? What core modules can be used to evaluate a VERSION in a module safely?
On Mon Nov 14 16:16:10 2011, BDFOY wrote: Show quoted text
> If I have time, I'll try to get this in for Perl 5.16. The trick is to > do it with just core modules and > without running the module file. We might have to graft old code into > this module to get that.
Brian - any ideas on this? I am not sure how to proceed on this ticket. Thanks.