views:

1098

answers:

11
+2  A: 

Perl

Tom Ritter
+3  A: 

"The name is normally capitalized (Perl) when referring to the language and uncapitalized (perl) when referring to the interpreter program itself since Unix-like file systems are case-sensitive." From wikipedia at time of posting.

Marc Gear
+1  A: 

perl or Perl is fine.

Koh Wei Jie
But they mean different things. "Perl" is the language, "perl" is the compiler.
davorg
+10  A: 

Quoting the Perl article on Wikipedia.

The name is normally capitalized (Perl) when referring to the language and uncapitalized (perl) when referring to the interpreter program itself since Unix-like file systems are case-sensitive. Before the release of the first edition of Programming Perl, it was common to refer to the language as perl; Randal L. Schwartz, however, capitalised the language's name in the book to make it stand out better when typeset. The case distinction was subsequently adopted by the community.

Also check the perlfaq about this question.

chakrit
Ugh there seems to a bug on markdown rendering, why is the blockquote block is all hyperlinked??
chakrit
Here's the link to perlfaq:http://perldoc.perl.org/perlfaq1.html#What's-the-difference-between-%22perl%22-and-%22Perl%22%3f
chakrit
chakrit, it looks like that was caused by the quoted text having the unmatched link identifier [10] at the end of the text
1800 INFORMATION
Oh, Thanks for the fix... even though it had been months... :-)
chakrit
+26  A: 

The correct casing is "Perl" for the language and "perl" for the executable. Using "PERL" flags you as someone who isn't particularly familiar with the language or community.

Michael Carman
+3  A: 

Despite a lot of anecdote to the contrary, "PERL" was never really an acronym -- it's a "backronym". The name Perl was chosen first, then some people jokingly applied expansions to it, which caught on.

The PerlMonks community (highly recommended!) taught me the convention, and it's similar to Java's:

  • It's never PERL (or JAVA)
  • When you're talking about the language, it's Perl (or Java)
  • When you're talking about the interpreter itself, it's perl (or java).

That said, it doesn't make a whole hill of beans if you do it "wrong".

Darren Meyer
Actually those conventions were in place long before Perl Monks arrived :-)
davorg
You say "it doesn't make a whole hill of beans", but it certainly can. Spelling it as "PERL" pegs you as someone who is not very familiar with Perl. It's a bit of a shibboleth.
Andy Lester
+3  A: 

While, as has been said, it doesn't make THAT much difference if you get it wrong, some folks do use correct capitalization (or at least, NOT referring to 'PERL' or any of the more sensible backcronyms) as a shibboleth for clue in job ads. :)

Penfold
+8  A: 

"PERL is a programming language for writing CGI applications. Its main strength is that it doesn't have any unnecessary warnings or strictures. It is a direct descendent of Perl, a programming language which was used mainly by programmers. However, the original language required too much reading and thinking and so PERL was developed as a language which was more in tune with the requirements of the Internet age".

jmcnamara
Of course! *GRIN*
pdcawley
I can only hope that people appreciate the humor in this :)
Ovid
+6  A: 

Here's the answer from perlfaq1:

What's the difference between "perl" and "Perl"?

One bit. Oh, you weren't talking ASCII? :-) Larry now uses "Perl" to signify the language proper and "perl" the implementation of it, i.e. the current interpreter. Hence Tom's quip that "Nothing but perl can parse Perl." You may or may not choose to follow this usage. For example, parallelism means "awk and perl" and "Python and Perl" look OK, while "awk and Perl" and "Python and perl" do not. But never write "PERL", because perl is not an acronym, apocryphal folklore and post-facto expansions notwithstanding.

brian d foy
+1  A: 

It's Perl (for the language) or perl (for the interpreter) but NEVER 'PERL'!

Peteris Krumins
I disagree, it is PERL in one case: when all letters are in upper case. See the title of Programming Perl for an example.
Chas. Owens
A: 

[Pp]erl is always correct, nobody can say anything against it.

Jabba
See http://stackoverflow.com/questions/72312/how-should-i-capitalize-perl/736455#736455
Sinan Ünür
It was supposed to be a joke.
Jabba
Don't post non-answer answers. Post a comment if you feel the need to be witty.
Sinan Ünür
"The official word from Larry Wall is that either spelling is acceptable, so it should really be referred to as [pP]erl." @ http://www.ternent.com/tech/regexp.html
Jabba