develooper Front page | perl.perl5.porters | Postings from March 2003

Re: CPAN usage question....apropos?

Thread Previous | Thread Next
March 2, 2003 00:43
Re: CPAN usage question....apropos?
Message ID:
>>>>> On Sat, 1 Mar 2003 19:53:05 -0800, "linda w." <> said:

  > Not sure if this is the right forum for this,

Normally the author of a module decides which forum to use for
discussion. In this case it's probably OK to bother us because the bug
may be related to perl directly. CC'd to, the author
of Devel::SmallProf to hear his opinion.

  > so have patience,
  > But just started trying the CPAN shell last night...exploring around.
  > (looking for a way to instrument a program by-line instead of by
  > proc)...I ran into a module that required module "DB"
  > (

  > Thing is, the CPAN shell seems to not recognize its existance.
  > Try looking under author as such luck.

DB is not a module, it's a namespace reserved for the Perl debugger.
Profilers usually hook into this namespace.

  > Is there something special about this module such that it would not
  > appear in CPAN?  When I tried to build a module that depended on
  > it (Devel-smallprof), I got errors about it not existing on my machine.

Confirmed. 'make test' on Devel::SmallProf 0.9 fails miserably. Bugs
on CPAN modules should be reported to and apparently
somebody has reported this bug 9 months ago.

  > Am I missing something obvious other than manual download of the source
  > and macking it is somewhere in the include path?

  > Perhaps am confused, but isn't that what the cpan-shell is supposed
  > to do for me?

The cpan shell can install properly declared prerequisites for you but
it cannot fix bugs in modules. Devel::SmallProf passes all its tests
with perl-5.6.1 but not with 5.8. I do not know why.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About