Skip Menu |

This queue is for tickets about the Module-ExtractUse CPAN distribution.

Report information
The Basics
Id: 22953
Status: resolved
Priority: 0/
Queue: Module-ExtractUse

People
Owner: Nobody in particular
Requestors: david.r.throop [...] boeing.com
Cc:
AdminCc:

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



Subject: Aggravating typo in Module:ExtractUse.018
Date: Fri, 10 Nov 2006 14:13:02 -0600
To: <bug-module-extractuse [...] rt.cpan.org>
From: "Throop, David R" <david.r.throop [...] boeing.com>
I have just downloaded and installed Module-ExtractUse-0.18.tar.gz from CPAN. In the Synopsis, it states use Module::ExtractUse; # get a parser my $p=Module::ExtractUse->new; # parse from a file $p->extract_use('/path/to/module.pm'); # or parse from a ref to a string in memory $p->extract_use(\$string_containg_code); # use some reporting methods my $uses=$p->uses; # $uses is a HASHREF print $p->uses('strict') # true if code includes 'use strictt' my @uses=$p->array; my $uses=$p->string; However, there is no uses method. There is a used method. Also, has somebody incorporated this into a module that follows the use dependencies recursively? Thanks David R Throop 281 226 6818 - Boeing Twr II desk 281 483 5396 - NASA bldg 32 281 460 8415 - cell phone
Thanks for the hint, the corrected version will hit CPAN soon. No, currently there isn't a module that checks recursive depencies, but I plan to add this feature to CPANTS very soon.