Professional Web Applications Themes

Devel::Coverage - PERL Miscellaneous

Hi all, I am new to using Perl and am trying to do some coverage ysis. When I do perl -d:Coverage temp.pl I get Cant locate Devel/Coverage.pm. What should I do for this. Also do I alway have to do perl -d:Coverage temp.pl to get/update the .cvp file. Thanks for any input. himal....

  1. #1

    Default Devel::Coverage

    Hi all,
    I am new to using Perl and am trying to do some coverage ysis.
    When I do
    perl -d:Coverage temp.pl
    I get Cant locate Devel/Coverage.pm. What should I do for this.

    Also do I alway have to do
    perl -d:Coverage temp.pl
    to get/update the .cvp file.

    Thanks for any input.
    himal.
    Himal Guest

  2. #2

    Default Re: Devel::Coverage

    [email]himal5hotmail.com[/email] (Himal) wrote in message news:<365e1935.0307010656.8378c1dposting.google.c om>...
    > Hi all,
    > I am new to using Perl and am trying to do some coverage ysis.
    > When I do
    > perl -d:Coverage temp.pl
    > I get Cant locate Devel/Coverage.pm. What should I do for this.
    >
    Devel::Coverage is not included in the standard Perl distribution.

    A quick test I use in this sitation: At the command prompt, type
    "perldoc Devel::Coverage". If the response is no doentation
    available, then, at the very least, you don't have any doentation
    for that module and, in 99+% of the cases, the module is not loaded.

    If you have the proper permissions, you can load it yourself from
    CPAN:
    [url]http://search.cpan.org/author/RJRAY/Devel-Coverage-0.2/Coverage.pm[/url]

    Note: the doentation on CPAN describes this module as "still very
    early alpha-quality" -- which of course means that it would not be
    included in any standard Perl distribution and why you do not have it
    loaded.

    HTH

    Jim Keenan
    James E Keenan Guest

  3. #3

    Default Re: Devel::Coverage

    Well it was my error in using Devel::Coverage that was giving me
    problems.

    I have downloaded Devel-Coverage-0.2.gz from CPAN and the README in it
    explains it rather simply how to go about it.

    There do seem to be an issue using it with perl 5.8.0.

    Cheers,
    Himal.

    [email]himal5hotmail.com[/email] (Himal) wrote in message news:<365e1935.0307010656.8378c1dposting.google.c om>...
    > Hi all,
    > I am new to using Perl and am trying to do some coverage ysis.
    > When I do
    > perl -d:Coverage temp.pl
    > I get Cant locate Devel/Coverage.pm. What should I do for this.
    >
    > Also do I alway have to do
    > perl -d:Coverage temp.pl
    > to get/update the .cvp file.
    >
    > Thanks for any input.
    > himal.
    Himal Guest

  4. #4

    Default Re: Devel::Coverage

    [email]himal5hotmail.com[/email] (Himal) wrote in message news:<365e1935.0307020447.57c48e88posting.google. com>...
    > Well it was my error in using Devel::Coverage that was giving me
    > problems.
    >
    > I have downloaded Devel-Coverage-0.2.gz from CPAN and the README in it
    > explains it rather simply how to go about it.
    >
    > There do seem to be an issue using it with perl 5.8.0.
    >
    I took a look at this myself. Note that version 0.2 has not been
    updated since July 2000 (predating Perl 5.8 by 23 months) and did not
    include *any* tests in its distribution. Having no tests, it never
    passed any installation tests conducted by CPAN testers. If you have
    further problems with it, you will have no choice but to contact the
    module's author directly -- and hope he is still maintaining it!

    Jim Keenan
    James E Keenan Guest

Similar Threads

  1. [RFC] Devel::Dependencies
    By Jean-Louis Leroy in forum PERL Modules
    Replies: 4
    Last Post: January 17th, 04:48 PM
  2. Replies: 4
    Last Post: August 17th, 10:30 PM
  3. php source code//php-imap/ php-devel ..etc
    By Jason Wong in forum PHP Development
    Replies: 1
    Last Post: August 8th, 08:31 PM
  4. Replies: 0
    Last Post: August 5th, 04:58 AM
  5. Question about Devel::Cover
    By Himal in forum PERL Miscellaneous
    Replies: 3
    Last Post: July 11th, 12:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139