felpirt has asked for the wisdom of the Perl Monks concerning the following question:

Hi, there. I want to do a remake of some simple programs, say mspaint or calc.exe in windows.

It seems obvious to use the name jspaint in javascript and pycalc in python. What is the common prefix that stands for perl? pl- or p-? or perl-?

pl- and p- is short enough. But they does not seem descriptive to me. I can't relate to perl when I see a program named plpaint or pcalc.

In the case of perl-, I'm worried about trademark issues. It seems to be impolite to include the fullname of a project. Or is it just that I'm thinking too much?

  • Comment on What is the common prefix that stands for perl? pl- or p- or perl-?

Replies are listed 'Best First'.
Re: What is the common prefix that stands for perl? pl- or p- or perl-?
by choroba (Cardinal) on Feb 10, 2019 at 13:22 UTC
    "P" is sometimes used when it's important that the thing is written in Perl (e.g. PDL - because you can use Perl in PDL). Normally, though, you would use no prefix at all. In fact, a user will be running a program without needing to know what language it was programmed in.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Re: What is the common prefix that stands for perl? pl- or p- or perl-?
by Your Mother (Archbishop) on Feb 10, 2019 at 18:25 UTC

    A convention I've seen on github for project names, if not script/app names, is “p5-”. I don’t think I’ve personally ever used a prefix in any other way, and rarely even use the “.pl” suffix. If there is a name clash, I just pick a different name. I don’t expect to see “perl” or “p” or “pl” in the name unless it’s something like a2p where the name/language is part of what the code does.

Re: What is the common prefix that stands for perl? pl- or p- or perl-?
by Anonymous Monk on Feb 10, 2019 at 13:43 UTC