Re: Fredrik Hübinette Book

Chris Angelico <[email protected]> Wed, 20 Oct 2021 16:44:22 +1100
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPTjJmoP86B7gcBOJMg_Y_JHywup-madV-MHuranNO-Jpi8vjw@mail.gmail.com>
On Wed, Oct 20, 2021 at 2:44 PM James Latham <[email protected]> wrote:
>
> Dear Pike lovers:
> Thanks for the very informative Blog that you have created.
> I would love to join in.
> Is there any way to create a distributable pike program?
> Ideally it would be all in one module.
> Jim Latham


Yes, absolutely! I've often made one-file Pike programs. For instance,
I have a git hook that I use in a number of projects, and it's all
contained in one file (called, surprisingly enough, "githook.pike"),
marked executable, and with an appropriate shebang.

ChrisA