http://www.perlmonks.org?node_id=879717


in reply to Re^4: RFC: How to Release Modules on CPAN in 2011
in thread RFC: How to Release Modules on CPAN in 2011

I think you are assuming that the person ... should it be aimed only at people who are agile at the command line and comfortable looking up command line options?

What are you talking about? Either your target audience can create perl modules or they literally don't know anything about perl. Your claim your audience is the former, so why worry about some hypothetical newbie who only knows GUIs?

  • Comment on Re^5: RFC: How to Release Modules on CPAN in 2011

Replies are listed 'Best First'.
Re^6: RFC: How to Release Modules on CPAN in 2011
by ELISHEVA (Prior) on Dec 30, 2010 at 01:54 UTC

    For my particualar module, the audience is programmers. I doubt anyone who isn't an experienced Perl programmer cares one whit about what sort of exception they use.

    However, this is a tutorial. It needs to consider other sorts of programs, not just my particualar one. It also needs to consider the views of the community and not just personal agendas.

    Some software is written for people who program. Some software is written for people who merely want to use it. All they know is that they have to run the script using a perl interpreter. PHP, C, Java all support applications written for both communities. Should Perl be different?

    My sense is that the Perl community is divided on this issue. There are some people think Perl should be a language for programmers by programmers and that all modules should either be installed by programmers or people who are willing to learn some of the skills of programmers. For this portion of the community, the idea of a makeless build is silly.

    There are others who would like to see Perl attract a wider audience that included non-programmers, developers who think build is a GUI button, and people who just want drop-in functionality on their website or desktop. If this is a goal, making make a prerequiste to downloading CPAN modules is an impediment. You don't need make to write Perl programs. You don't need make to use Perl programs. You don't even need make to copy scripts from one place to another nor to run tests, so why require it? It is like insisting that everyone who wants to eat cheese go out and buy a diamond cutter. It doesn't make the cheese taste better and it gets in the way of eating cheese.

    My own views are in the second camp. I would like to see Perl software be readily available to the widest audience possible. However, that is immaterial to this tutorial.

    In the tutorial the views expressed about portability were culled from a number of sources both within and without the Perl community. The portability issues of make have been a concern for sometime even within the *nix community. GNU jumps through hoops to make sure its software can be reliably built on multiple platforms using make. Ant, used by the Java community, was in part a response to portability issues related to make/nmake/dmake. Those responsible for the Perl itself were persuaded that this was a legitimate enough issue that they included an option for make-less builds via Module::Build in the Perl core. I would be remiss not to mention the portibility issues, even if I thought they were totally stupid. (Note: my personal view is that for C/C++ compilation we still don't have a better tool, so make stands as the tool of choice regardless of difficulties)

    A more reasonable complaint would be something like this: your discussion of CPAN module development is too biased towards pure Perl modules. This tutorial does not address the needs of XS module builders for whom make is still the gold standard.

      There are others who would like to see Perl attract a wider audience that included non-programmers, developers who think build is a GUI button, and people who just want drop-in functionality on their website or desktop. If this is a goal, making make a prerequiste to downloading CPAN modules is an impediment. You don't need make to write Perl programs. You don't need make to use Perl programs. You don't even need make to copy scripts from one place to another nor to run tests, so why require it? It is like insisting that everyone who wants to eat cheese go out and buy a diamond cutter. It doesn't make the cheese taste better and it gets in the way of eating cheese.

      ++
      I STILL find it hard to install modules (at leas on Mac OSX Snow Leopard). While I'm definitely new-ish to Perl, I don't consider myself a 'point and click' GUI end user and yet installing modules remains a skill I painfully lack. Quite honestly I don't see how installing modules through the command line makes me a better Perl programmer. (but maybe I just don't know enough about Perl to even answer that)

      I would love to see at least an option given to CPAN devs to create an 'easier' install process. The CPAN is always touted as one of Perl's greatest strengths and yet it has this hurdle that newbies (and even not so newbies) need to surmount in order to benefit. I just don't see how that's a good thing.

      P.S. Sorry for the rant. It's not something I usually do but this hit home for me a little. Congratulations on the tutorial. Great work!!


      "...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." — Don Quixote
        I would love to see at least an option given to CPAN devs to create an 'easier' install process.

        Easier how?

        CPAN appears to be a source code repository...

        on the other hand you have PPM repositories (esp ActiveStates) with GUI frontend, and then you have Debian apt-get... but wait, apt-get is commandline ... but wait, CPANPLUS::Shell::Tk, CPANPLUS::Shell::Wx

        but wait, that is still about same level of hardness; how can it get easier?

      ...It is like insisting that everyone who wants to eat cheese go out and buy a diamond cutter. It doesn't make the cheese taste better and it gets in the way of eating cheese...

      No. Its purely about taking you at your word and speaking up when you veer off and start spreading FUD/BS.