in reply to Re^3: let Makefile.PL to do the Readme file for me -- new target?
in thread let Makefile.PL to do the Readme file for me -- new target?

I have to apologize if you had the impression I was criticizing your code. Sorry. :/

It's a great peace of work showing a lot of nifty automization.

I replied to you in this thread because you offered an elaborated example.

What I meant was the whole concept, to use Perl to create two extra layers of different languages.

It feels like embedding Sed to create Awk to me.

Those levels of indirection must lead to problems.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

edit

s/atomization/automization/

  • Comment on Re^4: let Makefile.PL to do the Readme file for me -- new target?

Replies are listed 'Best First'.
Re^5: let Makefile.PL to do the Readme file for me -- new target?
by pryrt (Abbot) on Jan 20, 2021 at 18:11 UTC
    Understood.

    It might be an extra level or two, but it's been working for ExtUtils::MakeMaker, even on Windows, at least as far back as 2002, and making use of the Makefile generated from a perl Makefile.PL is part of their design philosophy.

    I know other similar tools make use of a ./Build.PL, but I haven't used that toolset, so don't know if that idiom has an intermediate step as well, or not.

    Since I had some experience in automating README and similar tasks using MakeMaker for my few distros, I figured I'd share that knowledge.

      Again, sorry!

      I said "we use" and was questioning the general approach, which is the mainstream as far as I understand.

      And I can also understand that most of the first Perl programmers came from a C background.

      I'm certainly not criticizing you and thankful for you sharing your approach.

      My concern was on a meta level ...

      I've heard people talking about Ruby's own native build process Rake and the benefits and synergies this creates.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        I've heard people talking about Ruby's own native build process Rake and the benefits and synergies this creates.

        I think you have a good point mentioning this.

        One may suggest that Perl could use its own Make-like program. It certainly could.

        But then again, maybe not if one looks at it from the point of view of spawning "yet one more of these". GNU Autotools uses Perl heavily. Perhaps Perlers of the 90's thought that can be a synergy. And it was. Albeit it relies also on m4.