Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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 ( [id://11127156]=note: print w/replies, xml ) Need Help??


in reply to Re^4: 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?

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.

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

Replies are listed 'Best First'.
Re^6: let Makefile.PL to do the Readme file for me -- new target?
by LanX (Saint) on Jan 20, 2021 at 18:25 UTC
    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.

        Again, I'm meditating on a meta level.

        There is a lot of UNIX and C legacy involved that I don't really master.

        Neither do I know Rake or Build.Pl well.

        It just seems strange to me to generate code in another language to execute code in a third one.

        This must be error prone.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11127156]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found