develooper Front page | perl.perl5.porters | Postings from February 2013

Re: Keeping track of used modules (Was: Perl 7 or Perl 2013?)

Thread Previous | Thread Next
From:
David Golden
Date:
February 12, 2013 22:30
Subject:
Re: Keeping track of used modules (Was: Perl 7 or Perl 2013?)
Message ID:
CAOeq1c9B8eTqbE-b8xYhmZgHv1f=kotgg0Sw-PpJUmyzUDuZZA@mail.gmail.com
On Tue, Feb 12, 2013 at 2:35 PM, Jan Dubois <jand@activestate.com> wrote:
> Put this into your sitecustomize.pl file:
>
> END { require DB_File; tie my %h, "DB_File", "$ENV{HOME}/zzz";
> $h{$_}++ for values %INC }

Nice.

A distro package like AS or Strawberry could easily create a popcon
like tracker with that (albeit with some non-trivial web request
overhead).

David

-- 
David Golden <xdg@xdg.me>
Take back your inbox! → http://www.bunchmail.com/
Twitter/IRC: @xdg

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About