Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Can you be a little bit more specific about how you want CPAN2 to work?

    This has been a sore point for me lately, I really think we need to do a better job of lowering the barrier of entry to access CPAN.

    For example, if I do some searches for CPAN (on Google), it's difficult to find clear instructions on how to install stuff. The examples I've seen show something like this:

                    perl -MCPAN -e shell

    BEFORE introducing

               

    • > Installing a CPAN module should be as easy as doing
      >
      > apt-get install (package)

      It already is...

              cpan install (package)

      • http://rt.cpan.org/Public/Bug/Display.html?id=46045 [cpan.org]

        Yes, it has the command-line sugar, but it also needs to be able to complete successfully (I realize this can be problematic with out-of-date installations)

        Finally, we need to blat "cpan -i (package)" over the web so people can easily find out how to do it. Maybe even include some pointers to local::lib

      • Was that sarcasm?

      • Just FYI, cpan doesn't seem to like 'install' from the command line:

        cpan install Catalyst::Engine::FastCGI

        It looks like you specified 'install' as an argument to cpan(1). This
        script is not the CPAN.pm prompt and doesn't understand the same commands.
        In fact, doesn't require the extra typing. You probably just want to
        list the modules you want to install:

                        cpan Catalyst::Engine::FastCGI

        See the documentation for more details on using this script.

  • It may not be entirely obvious, but this is exactly what has been happening over the last few years.

    Various bits of the current CPAN model are already being systematically replaced.

    META.yml is being replaced with a JSON [cpan.org]-format META.json.

    configure_requires (2 years in the making, now in the Perl core, appearing in 5.10.1) has allowed us to upgrade Makefile.PL and Build.PL related modules sanely and do more thorough configure-time testing (and will finally remove the need for some of Module::Install's more ev

    • I've read many of these discussions (about meta.json, special configuration options, repository options, etc.) and it really is exciting, I just couldn't find much documentation for it, other than journals such as yours and rjbs.

      Is there anywhere I could read about this more?