Q: What to name a module?

From: Robert Rothenberg (mutantrob_NOSPAM__at_verizon.net)
Date: 07/15/04

  • Next message: Mohammd M. Hussain: "Re: return hash"
    Date: Thu, 15 Jul 2004 18:41:41 GMT
    
    

    I am working on a module that when given a CPAN distribution, will return
    which modules the distribtion requires (by parsing the Makefile.PL using
    Module::MakefilePL::Parse if the META.yml file is not available).

    A companion module will actually try to fetch the distribution information
    from CPAN (since it can query a .meta file if it exists before downloading an
    entire distribution).

    Because it is more closely tied to CPAN and works with distributions rather
    than modules, I am thinking of calling it CPAN::Distribution::Depends.

    Comments or suggestions about the namespace would be appreciated.

    FYI--I am writing yet another module to do this because existing modules
    either do not work on my platform or they require preqrequisite modules to be
    installed. Basically they either compile the module or run
    Makefile.PL/Build.PL and see what modules are asked for. I'd rather use a
    safer (and I think faster) method to partially-parse the Makefile.PL if no
    META.yml is available.

    Some tests using all the latest distribution on CPAN show that it works for
    all but a handful of distributions.

    This is actually part of a larger project to show test results (organized by
    platform) of module dependencies. If there is a failure in the dependency
    tree, authors can check for this.

    I've also posted this question on Perl Monks at
    <http://perlmonks.org/index.pl?node_id=374747>


  • Next message: Mohammd M. Hussain: "Re: return hash"

    Relevant Pages

    • Re: Whats missing from python?
      ... > have a 'batteries included' distribution including all sorts of nice ... something like CPAN. ... CPAN, or includes lots more CPAN stuff than the standard distro does, ... > I want my Python in a Nutshell to be a single volume not an encyclopedia. ...
      (comp.lang.python)
    • Re: Is IO::Scalar module installed?
      ... have done above and it appeasr to have worked ... The distribution with IO::Scalar in is called IO-stringy, ... Some ppm 'repositry', which is a site it can download pre-compiled ... versions of CPAN modules from. ...
      (comp.lang.perl.misc)
    • Re: Whats the status of Tcl 9.0?
      ... I've found stuff on CPAN that doesn't build in the 'standard' ... work any more than the 'nirvana' of the Python included extensions - ... starting to work with developers to get issues resolved. ... can be used to create a binary distribution. ...
      (comp.lang.tcl)
    • Q: What to name a module?
      ... I am working on a module that when given a CPAN distribution, ... A companion module will actually try to fetch the distribution information ... platform) of module dependencies. ...
      (comp.lang.perl.modules)
    • Re: Detecting OS platform in Python
      ... infact it even needs to know which distribution of say ... (kernel name, system name, kernel version and build information, ... platform, and operating system). ... I'm not a GTK programmer, and have never even heard of Hildon. ...
      (comp.lang.python)