PerlDigger

Perl Dig­ger is a free­ware Perl script to dig for infor­ma­tion about the server-side envi­ron­ment includ­ing a list of all installed Perl mod­ules with a handy link to their doc­u­men­ta­tion at CPAN. The script is based on sim­ple CSS, so you can eas­ily mod­ify how it looks.

Perl Dig­ger is a free­ware Perl script to dig for infor­ma­tion about the server-side envi­ron­ment includ­ing a list of all installed Perl mod­ules with a handy link to their doc­u­men­ta­tion at CPAN. The script is based on sim­ple CSS, so you can eas­ily mod­ify how it looks.

Please click here for the full code and a sam­ple of what Perldig­ger looks like.

11 comments
  1. simmerz says: May 28, 20036:52 pm

    i found it by chance by com­ing to your web­site. you should try to reg­is­ter it at hotscripts or cgi-resources. thanks for the very use­ful script

  2. sniptools says: May 28, 20036:52 pm

    It's done. Reg­is­tered at both the web­sites you men­tion. Thanks..

  3. Guest says: May 28, 20036:59 pm

    Hi, this is a very good script. I have run it with Linux, BSD and Win­dows, it works well with Linux but not BSD and Win­dows. For BSD, the plat­form isn't shown. So as the CPU and mem­ory information.

  4. abraham says: May 30, 200310:38 pm

    Thanks for this cool script. I think one fea­ture that you do not men­tion is that the HTML code is very con­ve­niently put at the end of the script so it is very cus­tomiz­able with­out the fear of screw­ing up the code. Very good coding!

    May be you should men­tion that as a "feature".

    Keep it up.

  5. tony poon says: Jun 10, 20034:43 pm

    where can i find the code for this utility?

  6. sniptools says: Jun 12, 200310:19 am

    Tony, when you click on the link on this arti­cle, it takes you to what the out­put of Perldig­ger can look like. There is also a link there to "Get Perl code here".

    Any­way, the direct link is here:
    http://sniptools.com/code/perldigger.txt

  7. Robert Byrne says: Jun 20, 20031:58 pm

    The fol­low­ing code fixes the prob­lem of the miss­ing col­umn of Perl mod­ules in ver­sion 0.2.1.
    Set $mod­Col­Count at the start to the num­ber of columns you want to dis­play. Then set the table's colspan=$modColCount and you are good to go.

    $col­Length = $modcount/$modColCount;
    for ($i=0; $i";

    sub dis­play­Mod­Col {
    ($col­Num, $col­Length, @modList) = @_;

    my ($i, $start­Col, $end­Col);
    $start­Col = $col­Num * $col­Length;
    $end­Col = $col­Num * $col­Length + $colLength;

    print "";

    for ($i=$startCol; $i$modList[$i]

    ~;
    }
    print "";
    }

  8. JP says: Jul 31, 200311:27 am

    I'm try­ing to install your pearl script, but get errors. So far I've man­aged to clean up some, but the script fails at line 358 as described below:

    syn­tax error at line 358, near "&"
    syn­tax error at 358, near "@INC)"
    syn­tax error at 363, near "&gt"

    Help! Thanks!

  9. David Hofmann says: Aug 26, 200312:43 am

    Robert Byrne, where does your code get stuck in?

  10. Guest says: Aug 26, 20037:19 am

    The code is Perl CGI. Cant you "stick" it in any place where your CGIs usu­ally go?

  11. Alan Parker says: Oct 01, 20048:34 pm

    Try­ing it on my hosts FreeBSD server — it sits there for around 10 min­utes, and then just returns an empty page with basic html head­ers in the source:

    Any way I can get round this as I really need some of the info it gives. Thanks!

Submit comment