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