Skip to content
quotesby

86 Larry Wall Quotes on Perl

Larry Wall quotes on perl

  1. Although the Perl Slogan is There's More Than One Way to Do It, I hesitate to make 10 ways to do something. :-)

    Permalink to quote #1
  2. And don't tell me there isn't one bit of difference between null and space, because that's exactly how much difference there is. :-)

    Permalink to quote #2
  3. Chip Salzenberg sent me a complete patch to add System V IPC (msg, sem and shm calls), so I added them. If that bothers you, you can always undefine them in config.sh. :-)

    Permalink to quote #4
  4. I dunno, I dream in Perl sometimes...

    Permalink to quote #6
  5. I know it's weird, but it does make it easier to write poetry in perl. :-)

    Permalink to quote #10
  6. It is, of course, written in Perl. Translation to C is left as an exercise for the reader. :-)

    Permalink to quote #12
  7. Dan Smith: I've tried (in vi) 'g/[a-z] [a-z]/s//_/'...but that doesn't cut it. Any ideas? (I take it that it may be a two-pass sort of solution). Larry Wall: In the first pass, install perl. :-)

    Permalink to quote #16
  8. Perl programming is an *empirical* science!

    Permalink to quote #19
  9. Randal said it would be tough to do in sed. He didn't say he didn't understand sed. Randal understands sed quite well. Which is why he uses Perl. :-)

    Permalink to quote #20
  10. The only disadvantage I see is that it would force everyone to get Perl. Horrors. :-)

    Permalink to quote #22
  11. In general, if you think something isn't in Perl, try it out, because it usually is. :-)

    Permalink to quote #33
  12. It's there as a sop to former Ada programmers. :-)

    Permalink to quote #35
  13. last|perl -pe '$_ x=/(..:..)...(.*)/&&$1ge$1&&$1lt$2' That's gonna be tough for Randal to beat... :-)

    Permalink to quote #38
  14. Perl itself is usually pretty good about telling you what you shouldn't do. :-)

    Permalink to quote #40
  15. There are many times when you want it to ignore the rest of the string just like atof() does. Oddly enough, Perl calls atof(). How convenient. :-)

    Permalink to quote #42
  16. : And it goes against the grain of building small tools. Innocent, Your Honor. Perl users build small tools all day long.

    Permalink to quote #46
  17. If you want to see useful Perl examples, we can certainly arrange to have comp.lang.misc flooded with them, but I don't think that would help the advance of civilization. :-)

    Permalink to quote #50
  18. > (It's sorta like sed, but not. It's sorta like awk, but not. etc.) Guilty as charged. Perl is happily ugly, and happily derivative.

    Permalink to quote #51
  19. Just don't compare it with a real language, or you'll be unhappy... :-)

    Permalink to quote #52
  20. I want to see people using Perl to glue things together creatively, not just technically but also socially.

    Permalink to quote #64
  21. : But for some things, Perl just isn't the optimal choice. (yet) :-)

    Permalink to quote #69
  22. So far we've managed to avoid turning Perl into APL. :-)

    Permalink to quote #72
  23. I think $[ is more like a coelacanth than a mastadon.

    Permalink to quote #78
  24. The whole intent of Perl 5's module system was to encourage the growth of Perl culture rather than the Perl core.

    Permalink to quote #82
  25. True, it returns ' ' for false, but ' ' is an even more interesting number than 0.

    Permalink to quote #90
  26. Any false value is gonna be fairly boring in Perl, mathematicians notwithstanding.

    Permalink to quote #91
  27. Anybody want a binary telemetry frame editor written in Perl?

    Permalink to quote #93
  28. Perl has a long tradition of working around compilers.

    Permalink to quote #95
  29. Of course, this being Perl, we could always take both approaches. :-)

    Permalink to quote #100
  30. You tell it that it's indicative by appending $!. That's why we made $! such a short variable name, after all. :-)

    Permalink to quote #115
  31. But the possibility of abuse may be a good reason for leaving capabilities out of other computer languages, it's not a good reason for leaving capabilities out of Perl.

    Permalink to quote #122
  32. Anyway, my money is still on use strict vars . . .

    Permalink to quote #131
  33. It's certainly easy to calculate the average attendance for Perl conferences.

    Permalink to quote #134
  34. Historically Tcl has always stored all intermediate results as strings. (With 8.0 they're rethinking that. Of course, Perl rethought that from the start.)

    Permalink to quote #136
  35. Just don't make the '9' format pack/unpack numbers... :-)

    Permalink to quote #137
  36. Well, you can implement a Perl peek() with unpack('P',...). Once you have that, there's only security through obscurity. :-)

    Permalink to quote #140
  37. It may be possible to get this condition from within Perl if a signal handler runs at just the wrong moment. Another point for Chip... :-)

    Permalink to quote #141
  38. As pointed out in a followup, Real Perl Programmers prefer things to be visually distinct.

    Permalink to quote #142
  39. Almost nothing in Perl serves a single purpose.

    Permalink to quote #174
  40. Perl will always provide the null.

    Permalink to quote #179
  41. Well, I think Perl should run faster than C. :-)

    Permalink to quote #181
  42. To Perl, or not to Perl, that is the kvetching.

    Permalink to quote #182
  43. I suppose you could switch grammars once you've seen 'use strict subs'. :-)

    Permalink to quote #183
  44. Perl should remain fast and intuitive (to the extent that it is :-)

    Permalink to quote #187
  45. I would estimate that the number of programs it breaks in the world will be less than 10. As long as one of those 10 isn't CGI.pm, we're probably okay.

    Permalink to quote #188
  46. I'm reminded of the day my daughter came in, looked over my shoulder at some Perl 4 code, and said, 'What is that, swearing?

    Permalink to quote #190
  47. Y'know, there are other possibilities if we assume that filenames are UTF-8...yikes...wait, put down that meat cleaver! Aieeee!!!

    Permalink to quote #191
  48. print rand rand rand 1, ' '; # interesting distribution

    Permalink to quote #192
  49. : I could understand principles of Perl source in 2-3 days [. . .] Gee, it took me about eleven years. :-)

    Permalink to quote #193
  50. I've always maintained a cordial dislike for indent, because it's usually right.

    Permalink to quote #196
  51. I'd make people say 'use Fork;' if I thought I could get away with it.

    Permalink to quote #197
  52. The way I see it, if you declare something portable, you'll always be wrong, and if you declare it non-portable, you'll always be right. :-)

    Permalink to quote #198
  53. Perhaps you should compile your Perl with long doubles one of these megaseconds.

    Permalink to quote #199
  54. Maybe we should take a clue from FTP and put in an option like 'print hash marks on every 1024 iterations'. :-)

    Permalink to quote #201
  55. And besides, if Perl really takes off in the Windows space, I think the rest of us would just as soon have a double-agent within ActiveState. :-)

    Permalink to quote #202
  56. The court finds everyone to be in contempt (including himself :-), and orders everyone sentenced to five years hard labor. (Working on Perl, of course.)

    Permalink to quote #203
  57. I view the JVM as just another architecture that Perl ought to be ported to. (That, and the Underwood typewriter...)

    Permalink to quote #205
  58. So please don't think I have a 'down' on the MVS people. I'm just pulling off their arms to beat other people over the head with.

    Permalink to quote #206
  59. It's, uh, pseudo code. Yeah, that's the ticket... [...] And 'unicode' is pseudo code for $encoding. :-)

    Permalink to quote #207
  60. : What do people think? What, do people think? :-)

    Permalink to quote #208
  61. Well, sure, I explicitly mentioned 'vtables' last time I brought this up. But a single pointer is fairly paltry, as tables go. :-)

    Permalink to quote #209
  62. So I'm thinking about ??, or !!, or //, or \, or whatever. But I think I like ?? the best so far. Or the least worst.

    Permalink to quote #216
  63. stab_val(stab)->str_nok = 1; /* what a wonderful hack! */

    Permalink to quote #243
  64. tmps_base = tmps_max; /* protect our mortal string */

    Permalink to quote #244
  65. pos += screamnext[pos] /* does this goof up anywhere? */

    Permalink to quote #245
  66. str->str_pok |= SP_FBM; /* deep magic */ s = (unsigned char*)(str->str_ptr); /* deeper magic */

    Permalink to quote #246
  67. #else /* !STDSTDIO */ /* The big, slow, and stupid way */

    Permalink to quote #263
  68. /* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */

    Permalink to quote #264
  69. Perl is designed to give you several ways to do anything, so consider picking the most readable one.

    Permalink to quote #272
  70. Remember though that THERE IS NO GENERAL RULE FOR CONVERTING A LIST INTO A SCALAR.

    Permalink to quote #273
  71. The autodecrement is not magical.

    Permalink to quote #274
  72. *** The previous line contains the naughty word '$&'. if /(ibm|apple|awk)/; # :-)

    Permalink to quote #275
  73. When in doubt, parenthesize. At the very least it will let some poor schmuck bounce on the % key in vi.

    Permalink to quote #276
  74. And C was good at something I like to call manipulexity, that is the manipulation of complex things. While shell was good at something else which I call whipuptitude, the aptitude for whipping things up.

    Permalink to quote #278
  75. So... Perhaps the Perl 6 slogan should be 'All Your Paradigms Are Belong To Us'. We'll get to that.

    Permalink to quote #279
  76. I simultaneously believe that languages are wonderful and awful. You have to hold both of those. Ugly things can be beautiful. And beautiful can get ugly very fast. You know, take Lisp. You know, it's the most beautiful language in the world. At least up until Haskell came along. (laughter) But, you know, every program in Lisp is just ugly. I don't figure how that works.

    Permalink to quote #280
  77. If there's a particular problem that Perl is trying to solve, it's the basic fact that all programming languages suck. Sort of the concept of original sin, applied to programming languages.

    Permalink to quote #283
  78. [Boxed] Multiple bouncing balls in a box are a metaphor for community. Notice how the escaping balls explode. This is what happens to people who move from Perl to Ruby.

    Permalink to quote #286
  79. ...Then you start building things like the Berlin wall to keep people inside your community. In anthropological terms, that's tribalism. A tribal Perl programmer might say, 'If you leave the Perl tribe to go and join the Python tribe, we will hunt you down, cook you, and eat you.' Or if you join the Ruby tribe, you will explode. By and large, I am not in favor of tribalism. Except for my tribe, of course.

    Permalink to quote #287
  80. There's really no way to fix this and still keep Perl pathologically eclectic.

    Permalink to quote #290
  81. Q. Why is this so clumsy? A. The trick is to use Perl's strengths rather than its weaknesses.

    Permalink to quote #295
  82. Interestingly enough, since subroutine declarations can come anywhere, you wouldn't have to put BEGIN {} at the beginning, nor END {} at the end. Interesting, no? I wonder if Henry would like it. :-)

    Permalink to quote #299
  83. : I've heard that there is a shell (bourne or csh) to perl filter, does : anyone know of this or where I can get it? Yeah, you filter it through Tom Christiansen. :-)

    Permalink to quote #301
  84. > This made me wonder, suddenly: can telnet be written in perl? Of course it can be written in Perl. Now if you'd said nroff, that would be more challenging...

    Permalink to quote #303
  85. (Presuming for the sake of argument that it's even *possible* to design better code in Perl than in C. :-)

    Permalink to quote #305
  86. May you do Good Magic with Perl.

    Permalink to quote #308