Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Perl Programming

Ask Larry Wall 633

About what? Perl is probably a good topic choice. No one knows more about Perl than Larry Wall, right? We'll send 10 of the highest-moderated questions to Larry by email, and post his answers when we get them back. Note: Due to Slashdot's line length restrictions, lines of code over 50 characters long may not display correctly. Please be aware of this if you include code samples in your question.
This discussion has been archived. No new comments can be posted.

Ask Larry Wall

Comments Filter:
  • Rewind and replay (Score:4, Interesting)

    by ObviousGuy ( 578567 ) <ObviousGuy@hotmail.com> on Monday August 26, 2002 @12:03PM (#4141462) Homepage Journal
    If you were to have a second chance at designing Perl, what would you have done differently?

    It's clear that Perl is undergoing a huge revision now, but even in the midst of this, you have to refrain from straying too far from the existing userbase. What would you do if you didn't have to satisfy those people?
  • James Joyce (Score:3, Interesting)

    by fm6 ( 162816 ) on Monday August 26, 2002 @12:04PM (#4141467) Homepage Journal
    If he were still alive, and were writing software instead of fiction, would he program in Perl?

    No, this is not a Troll! It seems to me that Perl is as much about expressiveness as it is about creating software.

  • Perl vs J2EE (Score:5, Interesting)

    by Anonymous Coward on Monday August 26, 2002 @12:04PM (#4141468)
    What do you think about the argument that Perl is a good language for small/medium sized websites and Java/J2EE is what should be used for large enterprise websites??
  • Perl's Roots... (Score:2, Interesting)

    by jeffy124 ( 453342 ) on Monday August 26, 2002 @12:04PM (#4141472) Homepage Journal
    We all know perl was born because you couldnt get something to work right using awk. I'm curious - what could awk not do that implored your self-proclaimed laziness to go off and design Perl?
  • by Marx_Mrvelous ( 532372 ) on Monday August 26, 2002 @12:04PM (#4141473) Homepage
    I've been using perl for a very long time, but primarily as a scripting language. I indeed mostly use it for extraction and reporting. With the recent developments in perl, however, there seems to be the trend that perl is able to do much, much more (while retaining compatibility to be "just" a scripting language).

    What do you think about how people are using Perl today? Are you satisfied that most people use it for simple tasks like log parsing? Would you like to see more advanced applications being built with Perl verses a compiled language?
  • Other linguas? (Score:5, Interesting)

    by PDHoss ( 141657 ) on Monday August 26, 2002 @12:07PM (#4141488)

    What language do you use when you're not using Perl? ;) Seriously, are there aspects of other languages you've considered adding to Perl? If so, what languages? What features?

    PDHoss

  • by thaigan ( 197773 ) on Monday August 26, 2002 @12:07PM (#4141492)
    If given the chance, what 10 questions would you ask yourself?
  • by hackstraw ( 262471 ) on Monday August 26, 2002 @12:09PM (#4141501)
    Larry,

    Thanks for Perl and the excellent Camel Book. I've been using Perl for 7 years now and am very grateful for having such a tool at my disposal.

    Now for the question. Many times people ask the question "Does open source software pay?", and I am under the assumption that it has for you with the profits from the Camel Book and the Perl Resource Kit, etc. So has OSS been profitable for you?

    PS, I miss the Hmm..... and other funny comments while applying patches :)

  • Perl Beginners (Score:4, Interesting)

    by KoopaTroopa ( 549540 ) on Monday August 26, 2002 @12:10PM (#4141508) Homepage
    I'm a CS student who's recently become very interested in Perl along with other languages. However, I don't really have too much everyday (or even occasional) need to actually USE much Perl. I am big into learning as much as I can about it for its own sake.

    Now, for the question: Given this approach to learning Perl (just for a general working knowledge, maybe light usage,) is it really worth spending a lot of my time learning Perl now, or should I wait for the big Perl 6 revision?

    Thanks :)
  • My Question (Score:3, Interesting)

    by SpanishInquisition ( 127269 ) on Monday August 26, 2002 @12:12PM (#4141517) Homepage Journal
    Do you think that Perl the fact that Perl is so easy to learn and alows a lot of "Baby Talk" is a disavantage in the workplace were it makes a good programmer indistinguishable from a amateur wannabe. Compare that to Java where even if you just want to print "Hello World" you have to understand inheritance, polymorphism and static class methods. Would a Perl certification help give managers that fuzzy feeling of security?
  • What do you feel about the future of Perl? Where is it moving to, and what still has to be done?
    Do you see Perl moving towards ever being a greater language for "programming" as C++ is? Or is it's place pretty well defined and not moving?
    In addition, what do you think about other languages and systems such as the .NET and XML [microsoft.com]? Do you see them as being possibly sucessful in light of Perl's flexiblity? There are so many languages and standards out there, it's hard to see what will some to the top.
  • by slashnot007 ( 576103 ) on Monday August 26, 2002 @12:12PM (#4141519)
    The reason I like perl is it is not a structured programming language. In my work I find it is 50% a get the job done parsing language and 25% sequencer of programs and deamons and 25% major ojbect oriented programming effort often a cgi.

    Thus I worry that perl has Python-envy. I've tried to use python several times but always go back to perl. The reason is my daily need for a parser dominates my choice of language and maintains my fluency, since I dont want to have to be fluent in both, perl becomes my language of choice for advanced tasks too, even though python might be better for strcutrued programming.

    So my question is, is perl 6 making make perl a structued language like python? Would it be a good idea if perl did not develop any further for fear of becoming too complicated and thus disorganized. (witness the evolution of java from clean slate to giant mess with intricate redundant libraries half of which are deprecated).

  • by Pinball Wizard ( 161942 ) on Monday August 26, 2002 @12:14PM (#4141528) Homepage Journal
    Larry, Perl has been accused of not being object-oriented because it only supports one of The Three Pillars(encapsulation, the other two being inheritance and polymorphism) of Object-Oriented programming.

    In my experience having the programming language handle the complexities of the object type is just as good as having explicit types like int, float, string, etc. But others disagree. And, I'm sure that by creating packages that call other packages, inheritance can be simulated. Others would disagree with this as well.

    Additionally, the people who criticize Perl's object-orientedness claim that Object-Oriented programming is "bolted on" to Perl, and therefore is somehow unnatural compared to a language like Java which is built to be object-oriented from the ground up.

    How would you answer these critics, and how well does Perl in fact support Object-Oriented Programming, in your opinion?
  • Python and Ruby (Score:3, Interesting)

    by millibit ( 601517 ) on Monday August 26, 2002 @12:15PM (#4141533)
    Which language do you prefere between Python and Ruby?
  • Why Perl? (Score:3, Interesting)

    by Alizarin Erythrosin ( 457981 ) on Monday August 26, 2002 @12:15PM (#4141535)
    Why would you pick Perl over other web (or even shell) scripting languages like PHP, ASP or any of the others?
  • Poem (Score:3, Interesting)

    by TrumpetPower! ( 190615 ) <ben@trumpetpower.com> on Monday August 26, 2002 @12:15PM (#4141536) Homepage

    What's your favorite Perl poem?

    Cheers,

    b&

    P.S. Thanks for creating something as wonderful as Perl! b&

  • Languages in general (Score:4, Interesting)

    by nburtner ( 536565 ) <cstrife@gmail. c o m> on Monday August 26, 2002 @12:16PM (#4141545)
    Mr. Wall,
    I know that you are an amateur linguist, since you originally wanted to be a missionary, and I was just wondering what other languages that you know and how they influenced your design of perl. I believe that you mentioned in the Camel that Greek was one of the languages that you drew from, and I was just wondering about the others you used, and why you chose them.

    Thanks!
  • 5 Changes (Score:4, Interesting)

    by Darkness Productions ( 143908 ) <gms8994+slashdot@gmail.com> on Monday August 26, 2002 @12:18PM (#4141562) Homepage
    If there were 5 things about Perl you could change (or have changed in the beginning), be it the way regex's are handled, making one thing faster than another, what would they be, and why? I've often wondered why loops can be/are faster than grep for finding data in an array/string.
  • Perl Funding (Score:2, Interesting)

    by slashnot007 ( 576103 ) on Monday August 26, 2002 @12:19PM (#4141571)
    Now that the Funding grant for Perl has run out. How will perl be devoloped in the future? What would happen if it were not? (I think it might be a good idea to freeze it, making it a grand old tool like awk, grep and other masterable unix tools rather than a moving target)
  • by destiney ( 149922 ) on Monday August 26, 2002 @12:20PM (#4141580) Homepage

    So Larry, it's pretty clear to me and all my collegues that Ruby [ruby-lang.org] and PHP [php.net] are gradually taking over everything that is currently written in Perl. What are your thoughts on the inevitable short lifespan Perl now has?

    ..and from what I understand most all the current reg-ex stuff will have to be relearned in Perl6, who do you think has time for that?

    These are serious issues Larry. Just the other day I saw an IBM job listing for "Perl/Ruby Programmer needed."

  • language comparison (Score:3, Interesting)

    by relay_mod ( 525998 ) on Monday August 26, 2002 @12:20PM (#4141586)
    How do you think Perl compares to languages such as Ruby, Python, or Lua? Where do you think Perl has its strengths, when these other languages are accounted for?
  • what next now? (Score:4, Interesting)

    by tanveer1979 ( 530624 ) on Monday August 26, 2002 @12:21PM (#4141597) Homepage Journal
    Larry, I am a perl user for quite sometime now, infact in many organizations like us perl is the defacto language for scripting. And I feel Perl has reached a pinnacle. Perl as such will be difficult to improve. Of course better regex and such minor issues can be fixed, but for all that matters I waould call it perfect, so do you plan to branch into something completly differnt, yet on the same philosophy. Perhaps perl with more intution, more power, an altogether differnt language with the same underlying philosophy of perl?
  • by TreyHarris ( 15366 ) on Monday August 26, 2002 @12:23PM (#4141617)
    What would you say has been the number one requested feature that you will not put into Perl 6, and why not?
  • by larry bagina ( 561269 ) on Monday August 26, 2002 @12:24PM (#4141618) Journal
    Whenever perl pops up in slashdot, there are plenty of language zealots claiming perl is obsolete and you should really be using php or ruby or python instead.


    What are your thoughts on these other scripting languages? What do you like about them, what do you dislike?

  • Perl Class? (Score:5, Interesting)

    by RollyGuy ( 24873 ) on Monday August 26, 2002 @12:25PM (#4141635)
    At the college level, the programming classes are taught using C,C++,Java, etc. Do you see a place for perl being taught in the classroom? I find that it is often overlooked and dismissed as simply a scripting language.
  • by Anonymous Coward on Monday August 26, 2002 @12:28PM (#4141649)
    I grew up with grep, sed, and awk. I'm a firm beleiver that I can do anything I ever need to do with them, but people always espouse the superiority of perl. What can perl do to large files, in terms of beating the bejesus out of text, that makes it so much better?
  • Why Perl? (Score:4, Interesting)

    by wackysootroom ( 243310 ) on Monday August 26, 2002 @12:28PM (#4141650) Homepage
    Just to set the record straight, I use whatever language that I think will be the best tool for the job.

    Larry, my question to you is why should I use PERL over Python for system administration? Why should I use PERL over PHP for web content? What do you think that PERL is best suited for?
  • Perl and .NET (Score:5, Interesting)

    by prostoalex ( 308614 ) on Monday August 26, 2002 @12:29PM (#4141656) Homepage Journal
    What is your opinion of .NET in general and Perl's role in it? Given that .NET supports Perl as one of the languages would you recommend actually using it for any projects? Do you see good future for this tandem?
  • by sergio ( 35237 ) on Monday August 26, 2002 @12:29PM (#4141659) Homepage
    Larry,

    One of the limitations that I have found on Perl is
    its lack of modern concurrent processing support in
    the form of a standard stable threads package (yes, there is ithreads) or some way to make Perl modules execute and comunicate remotely (nope, rsh* won't do, neither is SOAP the solution)

    More and more other languages are providing mechanisms or libraries of modules that are standard in their distribututions.

    I would like to know what kind of ideas you would have in this area. Do you think that Perl needs to
    have this capability as a standard component?

    Thanks for all the fun!

  • Missionaries (Score:4, Interesting)

    by technoCon ( 18339 ) on Monday August 26, 2002 @12:30PM (#4141679) Homepage Journal
    WARNING: a Christian topic follows. Close your eyes and stop your ears if that bothers you.

    I hear that Mr. Wall once wanted to be a missionary translator but that a chronic health problem prevented him from going someplace foreign. I further hear that missionary translators use Perl a lot.

    Has he heard any cool stories about how missionaries use Perl?

    Would he ever want to do a short-term missionary gig?

    How is his health nowadays?
  • by Scareduck ( 177470 ) on Monday August 26, 2002 @12:32PM (#4141687) Homepage Journal
    Having read some of the more recent Apocalypses, I have a question for you: are you crazy? The regexp changes you're talking about in Apocalypse 5 [perl.com] will make Perl 6 deeply incompatible with existing scripts and practice. In particular, I object to the conversion of [] to non-capturing grouping rather than character class. [perl.com] As a long-time user of Perl, I have to say this is insane. You're wrong when you say "we're really simplifying" -- you're making things more complex. Changing this breaks Perl and much more; why do you think you're immune from the negative side-effects of hubris? And it is hubris. We know this because you start page 2 [perl.com] of the Apocalypse by saying, "Regex culture has gone wrong in a variety of ways...." One of Issawi's Laws of Progress says that society (even Perl regexp culture) is a mule, not a car -- if pressed too hard, it will kick an throw off its rider. Something this radical and wrong will hurt Perl 6 adoption and will retard the acceptance of some very nifty features.
  • by mustangdavis ( 583344 ) on Monday August 26, 2002 @12:33PM (#4141696) Homepage Journal
    What are your thoughts on the comments made by people that Perl is not designed for projects that require more than one programmer? Many people have stated over and over again that Perl code can not be managed by more than one person ... what are your thoughts on that statement? How would you manage a large Perl project? Do you think Perl should be used for large projects? (or should it be used strictly as a "quick and dirty" programming language?) BTW: I love your work (someone had to say it)
  • by phamlen ( 304054 ) <phamlen.mail@com> on Monday August 26, 2002 @12:35PM (#4141707) Homepage
    One of the big methodologies in vogue at the moment is eXtreme Programming and closely-related Test-driven Development (where you write your tests before writing your code.)

    Considering that XP is a "high-discipline, low formality" methodology, how do you think XP and Perl fit together? How would you go about doing test-driven development in Perl? Is Perl a good language for XP?

    -Peter
  • by Jeppe Salvesen ( 101622 ) on Monday August 26, 2002 @12:36PM (#4141712)
    Mr. Wall

    Are there any issues in Perl that will not be fixed in Perl6? By an "issue" I mean an aspect of the language that is being widely critized and is admittedly suboptimally implemented, like the current OO implementation.
  • Application (Score:2, Interesting)

    by Whispers_in_the_dark ( 560817 ) <rich,harkins&gmail,com> on Monday August 26, 2002 @12:36PM (#4141714)
    What application of Perl most suprised/pleased/amused you when you discovered Perl's use in that role?
  • creative muse (Score:2, Interesting)

    by nerpdawg ( 6937 ) on Monday August 26, 2002 @12:40PM (#4141738)
    How do you go about getting ideas for/stoking the creative muse for doing language design?
  • Role of Religion? (Score:4, Interesting)

    by Anonymous Cowdog ( 154277 ) on Monday August 26, 2002 @12:42PM (#4141750) Journal
    Larry,

    I remember reading at some point that you are a
    Christian, and there have been suggestions that
    some of your early missionary impulses (a desire
    to do good, help others) are perhaps part of the
    zeal you have put into Perl over the years.

    Preferring a scientific view, I am not religious,
    and have no desire to be. Perhaps there is a
    God, but if there is, I think he/she has no
    opposable thumbs; in other words, has no power to
    change anything; reality is just playing out
    according to the laws of physics (whatever those
    are).

    Please tell us how in the world a scientific or
    at least technical mind can believe in God,
    and what role religion has played in your
    work on Perl.

    Thanks for doing this interview, and thanks
    for Perl!

  • Thanks Larry (Score:5, Interesting)

    by wdr1 ( 31310 ) <wdr1@p[ ]x.com ['obo' in gap]> on Monday August 26, 2002 @12:44PM (#4141775) Homepage Journal
    Hi Larry,

    Like many others, I *love* Perl. I use it both professionally and personally. You've not only helped make my career, but also given me a very pleasent past-time. I was wondering what I can do to say thank-you? Can we give you money? Dontate something to someone, etc.?

    When the new Programming Perl came out, I didn't really need anymoe (viva perldoc!), but wanted to make sure I was putting a few bucks in the pockets of those who made Perl great. What else can I do to say thanks?

    -Bill
  • perl 6 niche (Score:5, Interesting)

    by maraist ( 68387 ) <{michael.maraist ... mail.n0spam.com}> on Monday August 26, 2002 @12:45PM (#4141784) Homepage
    perl 1-5 have been great UNIX configuration/management languages. This includes small-scale webserver platforms. It's very difficult to find any other language that is as versitile in this respect where it reigns in it's niche. It is the perfect combination of speed, power, simplicity and huffman encoding (especially given the co-UNIX-tools look-and-feel).

    Perl 6 on the other hand, changes this formula around; favoring a more general solution that potentially reduces performance (due to abstractions), and deviates substantially from the UNIX-family-syntax - Namely: c-ish-syntax ( colon, question mark, select, exception-handling, etc), awk/sedish reg-ex's, raw c-libray-wrappers, etc. It was these very similarities that made learning and accepting perl so trivial since learning CIS and UNIX administration was sufficient to master perl in 2 days.

    My question is: does perl 6 have a niche in mind? Or is it spreading itself too thinly; competing more and more against Java/python/C# and thus losing it's identifiable niche?
  • Favourite Quote? (Score:5, Interesting)

    by Vengie ( 533896 ) on Monday August 26, 2002 @12:46PM (#4141786)
    What is your favourite quote? (*coughsigcough*)
  • Perl as culture (Score:2, Interesting)

    by jom42 ( 604018 ) on Monday August 26, 2002 @12:46PM (#4141789)
    More than any other programming language, Perl has an extensive culture built up around itself. It is a language that people get quite passionate about, and it's used daily by system adminstrators, application programmers, researchers, hackers, and even poets. When you set out to develop Perl, did you envision this culture blossoming out of it? What is it about Perl that inspires such passion?
  • by kin_korn_karn ( 466864 ) on Monday August 26, 2002 @12:48PM (#4141815) Homepage
    I'm a perl programmer who uses it daily. The push is on from the C?O types to get rid of Perl, even though a bunch of us here know it and are very proficient and fast with it. The new standard is Java with web services and all that other BS. This sickens me, because a) I'm biased towards Perl and b) I know Java is simply a fad language and the overhead/infrastructure only serves to give do-nothing architect types jobs.

    The high-level technical people in my company don't take Perl seriously. They see it as some kind of super-Awk or an artifact of the early days of the web. Smart people know better, but we're not in charge.

    What do you think it would take to get people to take Perl seriously as a programming language [again]? Is widespread use of Perl a goal of yours, or do you not care?
  • Linguistics and Perl (Score:2, Interesting)

    by elgonzzo ( 129077 ) on Monday August 26, 2002 @12:50PM (#4141825)
    I hear your interest in linguistics has had an influence on Perl and Perl's "there's more then one way to do it" attitude mirror's well the flexibility of the languages of the world, better then most programming languages(for better or for worse). I was wondering if you could tell us a little how Perl has been influenced by linguistics and how you wish/hope it will be?
  • Faith (Score:4, Interesting)

    by strider( corinth ) ( 246023 ) on Monday August 26, 2002 @12:58PM (#4141869) Homepage
    As both a Christian and a programmer whose primary language is Perl, I've been encouraged by the fact that you make your faith as public as you do. I'm currently considering a future in programming or ministry, and since reading your note on Authorship in the Perl README, I've wondered how you view your work in relation to your faith. Do you consider doing your job as well as possible a tribute to your Author, do you consider it as partly missionary, or is there some other aspect to authoring Perl that involves your faith?
  • by hemabe ( 532570 ) on Monday August 26, 2002 @01:00PM (#4141883)
    Hello Larry, if you would develop a complete new language, not with perl6 in mind, how would it look like? What would be the design goals? Would it be total object oriented? Thank, Hermi
  • PLEASE ANSWER (Score:2, Interesting)

    by swagr ( 244747 ) on Monday August 26, 2002 @01:00PM (#4141885) Homepage
    I'd find it hard to beleive that someone could argue that Perl as a language has a better design than Ruby (now's your chance if you want to). If Larry Wall is any sort of visionary shouldn't he swallow his pride and switch to Ruby?

    NOTE TO [STUPID] MODERATORS: This is not a troll. This is serious. Think about it.
  • Perl 6 Linguistics (Score:1, Interesting)

    by Anonymous Coward on Monday August 26, 2002 @01:09PM (#4141956)
    On this page [wall.org], you talk about the natural language principles in Perl. How prominently have these these principles figured into the redesign of Perl? Were any of them "traded-off" against something else? If so what? Do you have any general comments about the linguistic aspects of Perl 6?
  • Perl and Ruby (Score:5, Interesting)

    by King Babar ( 19862 ) on Monday August 26, 2002 @01:09PM (#4141959) Homepage
    In the beginning, I programmed in awk. I lived life one line at a time, but it was good. Then somebody turned me onto perl, and life was much more than good.

    At that time, there was no credible competition to Perl in any of the niches it basically created. These days, there is more competition than I can comfortably list. Indeed, if I were choosing a language like Perl today, I would be very, very tempted to choose Ruby instead, and I am not the only Perl programmer who feels this way. Interestingly, Perl6 is beginning to look and feel a lot more like Ruby. Are there indeed aspects of Ruby that you were deliberately trying to have in Perl6? Are there any aspects of Ruby you are especially wary of?

  • Best language? (Score:3, Interesting)

    by notany ( 528696 ) on Monday August 26, 2002 @01:14PM (#4142034) Journal
    Larry. What is the best programming language you did not desing?
  • He'd screw it up (Score:2, Interesting)

    by Wee ( 17189 ) on Monday August 26, 2002 @01:14PM (#4142035)
    If he could go back, he'd make Perl incomprehensibly arcane and overly complicated, instead of creating an easy-to-learn, general purpose glue/scripting language (which looked a lot like languages that we already knew, but were more powerful than them). The "revisionist history" version of Perl would probably look a look a lot like Perl 6, with even more desire for Perl to be something it's not and be the answer to everyone's problems.

    I don't know why Perl wants to be a kitchen-sink language designed to fill any programming role. It is ignoring Perl's strengths to try to do and be everything to everyone. What struck me about the parent post was that just last night I was trying to decide whether Perl would have taken off like it did if it had looked like what Perl 6 will look like. I don't think it would have.

    Perl is The Clampetts of programming languages.

    -B

  • by Paul Bain ( 9907 ) <paulbain@poboxCHICAGO.com minus city> on Monday August 26, 2002 @01:20PM (#4142097)

    Traditionally, computer programming languages have competed against one another, but now we seem to be moving towards a world in which a programmer will be able to choose from a set of virtual machines (VM's) as well as from a set of programming languages. The Perl 6 VM (dubbed "Parrot?") can execute Java source-code (because Java source can be compiled into Perl 6 bytecode) as well as Perl source-code, and, indeed, almost any programming language can be compiled into Perl 6 bytecode. The same is roughly true of Java. Because the source-code of nearly any programming language can be compiled into Java bytecode, a JVM can execute code written in nearly any programming language provided that a compiler has been written to transform the source code into Java bytecode. Examples of such compilers include Jython [jython.org] (which compiles Python source-code into Java bytecode), NetRexx [ibm.com] (which compiles Rexx into Java bytecode), and JRuby [sourceforge.net]. And, of course, there is Microsoft's .Net, which, IIRC, also contemplates (or at least permits?) the compilation of nearly any source-code into a bytecode specified by MS (of course, MS wants the bytecode's execution to take place on a MS O/S exclusively). Furthermore, there's no reason (that I can think of) that would prevent, say, Java or Perl from being compiled into Python bytecode and executed by a Python VM.

    There are many implications and consequences of giving software developers this degree of choice. In your opinion, what are the most significant of these consequences?

  • Perl 6 naming (Score:2, Interesting)

    by kawika ( 87069 ) on Monday August 26, 2002 @01:26PM (#4142153)
    Did you consider using a name other than Perl 6 for your new language? Many current Perl users recoil at the extreme changes made to their favorite language, even though they can still write Perl 5 for the most part. (And I really like the new regexp design.)

    In retrospect do you think a new name or version nomenclature would have warmed the reception and/or reduced confusion?
  • faster loading times (Score:5, Interesting)

    by rsd ( 194962 ) on Monday August 26, 2002 @01:31PM (#4142202) Homepage
    One of the features I really miss in perl is a clean way to pre-compile
    scripts. Both to speedup loading times and to byte-[en]code to program.

    There is perlcc, which really isn't supported as a production tool and doesn't take
    modules into account.

    What do you think about technologies like Zend [zend.com]?

    Is this really a issue for perl? or just a matter of time?
  • by cpfeifer ( 20941 ) on Monday August 26, 2002 @01:45PM (#4142349) Homepage
    lock, change, test, commit, unlock

    or

    change, test, commit, merge?

    Are you a locker or a merger?
  • Do you USE Perl? (Score:4, Interesting)

    by Lxy ( 80823 ) on Monday August 26, 2002 @01:49PM (#4142386) Journal
    I was just looking at www.wall.org and the site for your church, of which you are the webmaster. Neither of these sites use any perl whatsoever. Coming from you, I would have expected to see a super cool Perl based calendar and lots of other neat dynamic stuff. What's your reasoning for using no perl on either of these sites?
  • Christianity (Score:5, Interesting)

    by Colonel Panic ( 15235 ) on Monday August 26, 2002 @01:51PM (#4142405)
    Larry,

    As a fellow Christian (I'm sure that revelation won't get me mod points) I must say that I have really appreciated your 'State of the Onion' speeches over the years. Thanks for showing that Christians can think and that we don't all mindlessly follow a 'televangelist' religion.

    Now for the question:
    Why do you think that the geek/tech community is so anti-Christian and what can we do to help change their negative stereotypes of Christians? Why is it that so many in this community feel that being a 'Thinking Christian' is an oxymoron? People like Knuth and yourself show that Christians can think and make contributions in the technical world.

    I tend to believe that the anti-Christian bias has some justification - meaning that Christians have often not displayed the grace which the Founder displayed and taught us to live in. What is it that Ghandi said when asked about Christianity? "Christianity I like, but it's those Christians that I'm not sure about". I also suspect that the anti-intellectualism of the pop-televangelists that is unfortunately so visible bears much of the blame (often when I come across one of those so-called Christian TV shows I think I'm looking at some kind of religious mutation and when I realize that these folks claim to believe the same things I do, I wince).
  • Garbage collection (Score:4, Interesting)

    by Clipper ( 547339 ) on Monday August 26, 2002 @02:10PM (#4142595) Homepage
    As others [jwz.org] have pointed out, Perl's garbage collector does lend itself to the circle of garbage problem because it uses reference counting [perldoc.com]. Could you comment on the tradeoffs weighed when designing the garbage collector? e.g., Efficiency, time to implement, etc. If you could, would you reimplement it so that it used techniques like the Train Algorithm [artima.com] instead?
  • by Ian Bicking ( 980 ) <(moc.ydutsroloc) (ta) (bnai)> on Monday August 26, 2002 @02:19PM (#4142692) Homepage
    You're wrong when you say "we're really simplifying" -- you're making things more complex.
    I think Scareduck is right here. Backward-compatibility modes will not make Perl, the totality, less complex; quite the contrary. Going forward there will be two significant different syntaxes for regexes, with the potential for great confusion if you don't know which one you are using. It also means two syntaxes to learn, with false cognates that are more likely to confuse than if the syntaxes were radically different.

    The old syntaxes for Perl are not going anywhere. By introducing new syntaxes, Larry is making Perl syntax twice as complex. It is already known as a syntactically complex language.

    If this quote isn't entirely ontopic for this discussion, it certainly is for Perl as a whole:

    "I thought that it was a firm principle of language design -- out of concern for programming as a human activity -- that in all respects equivalent programs should have few possibilities for different representation [...]. Otherwise completely different styles of programming arise unnecessarily, thereby hampering maintainability, readability and what have you. This requires from the language designers the courage to make up their minds!"

    -- Edsger W. Dijkstra on Ada (source) [utexas.edu]
    Not only didn't Larry make up his mind the first time around, but now that the creation has settled he's changing it all over again.
  • New Life Church (Score:3, Interesting)

    by Engdy ( 124179 ) on Monday August 26, 2002 @02:26PM (#4142755) Homepage Journal
    Larry,

    What's it like for a celebrity to be a part of a community of Christians? Do you pass the collection plate and hand out programs before service starts like any other member, or do you get the celebrity treatment there, as well? I guess I'm asking how deep and intrusive into your life this celebrity stuff goes.

    Keep it up, I appreciate it, and the world needs more Christian heros!

  • Compiling? (Score:1, Interesting)

    by Anonymous Coward on Monday August 26, 2002 @02:28PM (#4142777)
    I know most /. members won't really consider this a problem, but in my opinion it's one of the major problems that is holding Perl back.

    Very high level languages like Perl are far easier to program in than lower level languages like C and C++. No worries about memory allocation, array sizes, easy string manipluation and so on...

    But of all the software currently running on your desktop, probably none of it is written in Perl. Why? Because Perl cannot be truly compiled. Sure, using perlcc [perldoc.com] I can convert a Perl program to C, but this is still experimental and doesn't really work well. Systems like Perl2Exe [indigostar.com] and Activestate's Perl Dev Kit [activestate.com] that package the perl compiler and program into an executable are an improvement, but the resulting executables are large and have a high start-up time.

    I'm sure there will be some people who don't consider this problem: i.e. leave Perl on the server-side and for general sysadmin tasks, as C and C++ have already got the desktop sewn up, but just think how much easier and faster it would be to develop a program like a GUI FTP client in Perl.

    If there was a true Perl compiler, Perl could easily become the language of choice for many if not all GUI applications. Currently the only end-user targeted GUI app I have seen written in Perl is UploadAway [uploadaway.com]--and even this is hardly aimed at a mainstream audience.

  • by Anonymous Coward on Monday August 26, 2002 @02:34PM (#4142820)
    Having high quality documentation seems crucial for a programming language's acceptance in many environments. While the content of Perl's documentation is great, its structure, organisation and general layout could be vastly improved.

    The basic POD format used for Perl's documentation is too simplistic, providing no support for tables.

    It is not possible to obtain high quality print documentation either--sure, a man page can be converted to PostScript, but the result still doesn't look very professional. This node on PerlMonks [perlmonks.org] also discusses these issues for anyone who is interested.

    So, do you consider Perl's documentation to be a limitation to its more widespread acceptance? Could you use your considerable influence in the Perl world to start a new drive towards improving documentation?

  • Serious question (Score:2, Interesting)

    by Futurepower(R) ( 558542 ) on Monday August 26, 2002 @02:55PM (#4143007) Homepage

    Note to moderators: This is a serious question. You may disagree with what is said, but your disagreement does not make this question one that should be ignored. Please don't think that Larry Wall is fragile and needs to be shielded from confrontive questions. Note also that this question needs to be phrased in several ways to make its breadth fully clear.

    Larry, now that you have seen what Perl has become after all the excellent work and all the years of effort, was Perl a good idea? Did we need another language? Would it have been better to have added features to an existing language, and to have made a more capable C++ interpreter, an advanced CInt [root.cern.ch], for example?

    Now that Perl is a mature, full-featured language, do you think it is a properly designed language? When you first worked on Perl, did you imagine what it would eventually become? It was an easy language to learn then, and that was one of its advantages. Has Perl, now that it is mature, become just another language, with the exception that it is an interpreter? Are there any features of Perl that could not be added to C or C++? Are there features of Perl that were designed to make it easy, like implicit variables, that are not a good idea for a mature language? What are the features of Perl that make it a necessary addition to the numerous languages?
  • Re:Perl and .NET (Score:4, Interesting)

    by mcc ( 14761 ) <amcclure@purdue.edu> on Monday August 26, 2002 @03:30PM (#4143252) Homepage
    I would like to ask the following as kind of a rider on the parent question:

    From looking at perl 6, it really and honestly seems to me like the perl 6 team is trying to position itself as a competitor to .NET, or at least mono. Specifically, Parrot as it's been described in the apocalypses looks like a natural replacement for the .NET CLR, as a more abstract and thus powerful VM that will let objects from different languages interact with each other seamlessly, without being neutered/"managed" the way that CLR languages have to be in order to fit the C# object model.

    Is this an accurate assessment? Was perl 6 meant to be a "better" CLR, and are you people intending to market it as such? If so, do you think that perl 6 could seriously compete with the .NET CLR or the JVM-- given that while those two may be a bit behind in the virtual machine department, they come with really complicated tightly-integrated framework APIs (J2EE, swing, the .net framework..) whereas perl just has a bunch of assorted disorganized modules that do everything?

    Can it be honestly said that perl 6 is a threat to .NET?
  • Aikido and Perl (Score:3, Interesting)

    by ScottMaxwell ( 108831 ) on Monday August 26, 2002 @03:52PM (#4143408) Homepage

    First, many thanks for Perl, which has saved me much anguish.

    I know you're an aikidoka [yahoo.com], and after studying aikido for a year, I've come to see several similarities between aikido and Perl. For example, Perl gives you a nice feeling of blending with the problem instead of struggling directly against it, just as you blend with and redirect your attacker's energy rather than directly confronting it in aikido. Similarly, TMTOWTDI ("there's more than one way to do it") in aikido as well as in Perl (at least in my dojo, where understanding and reaching the goal is more important than slavishly copying the sensei).

    My question is, did you consciously approach Perl with aikido in mind (or vice versa :-)? Or is it just that they both appeal to your personality in the same way?

    Also, incidentally, what style of aikido do you practice?

  • most obfuscated.. (Score:2, Interesting)

    by schmiddy ( 599730 ) on Monday August 26, 2002 @04:06PM (#4143517) Homepage Journal
    what are the most obfuscated few lines of Perl you've ever seen~?
  • Your successor (Score:3, Interesting)

    by Get Behind the Mule ( 61986 ) on Monday August 26, 2002 @04:26PM (#4143676)
    Like Linus Torvalds, you are the alpha programmer, the founder and "benevolent dictator" of a major open source project. Of course, both projects now have large and well-structured teams of developers with many recognized leaders, but nevertheless, everyone looks to both you and Linus for guidance and leadership, and everyone accepts that you have the final say in issues of dispute.

    The open source movement hasn't been around long enough for us to witness the transition to a new top dog in a worldwide, highly visible project, so we all have to wonder sometimes what will happen when you and Linus decide to pass the baton, and how it will be handled. Have you decided what has to happen for you to retire from the Perl project? Or do you think you'll be hanging in there at 75 and above, a John Lee Hooker of programming languages, until the day you flop over your keyboard? Do you think that you'll hand over the scepter to a successor at the pinnacle, or do you think Perl can be taken over by some kind of committee? Doesn't there have to be an individual who has final say on important and possibly controversial decisions? Do you think the developer community will accept a new leader on your sayso, or will there have to be some sort of election? And if you do consider choosing a successor, what will your criteria be?

    BTW, I'm an atheist, but I hope you don't mind my saying God bless you for creating Perl. :-)
  • Parrot as a good VM? (Score:3, Interesting)

    by IamTheRealMike ( 537420 ) on Monday August 26, 2002 @04:27PM (#4143690)
    I was talking to Miguel de Icaza a few days ago about VMs on IRC. As you may be aware, he runs the Mono project which is creating an implementation of .NET

    He claimed the design of Parrot was fundamentally flawed and pointed to it's highly unusual design and the very high number of opcodes. I was wondering exactly what you're thoughts are on Parrot. It's claimed that it'll be a good target for any language, both static and dynamic, but are you really interested in pushing this? Could you see Parrot as worthy competition to .NET in the cross-language VM space? Is having a very large number of opcodes an advantage or a disadvantage?

  • by bcrowell ( 177657 ) on Monday August 26, 2002 @05:25PM (#4144091) Homepage
    This opens up the whole issue of application programming in Perl, which is something I do a lot of. Personally I've been pretty happy with Perl/Tk as a GUI toolkit, although I'm looking forward to seeing it on MacOS X.

    But a bigger issue for me as a Perl app writer has been ease of installation. Is this going to get better in Perl 6? Installing a Perl app can be a fairly complex process, especially if you need lots of CPAN modules, and a lot of them call C code that needs to be compiled. Also, there seems to be a general assumption that modules are going to be installed in /usr, but many end-users might not have the privs to do that. None of this is a big deal in the world of sysadmins and webmasters, but for naive end-users it's a problem. Will the advent of Parrot make it possible to give the user a big ol' bytecode file that includes everything? I know it's going to become easier to glue C and Perl together -- will this translate into an easier exeprience for the end-user as well?

    I guess I'm just spoiled by the MacOS X experience, where an application appears as an icon in the Finder, and to intstall it, all you do is drag it to the Applications folder. Wow! Java also does a good job of streamlining the installation process, although it's at the cost of making the standard library ridiculously huge.

  • Home Automation (Score:2, Interesting)

    by Scott8586 ( 554140 ) on Monday August 26, 2002 @06:09PM (#4144336) Homepage
    Larry, we understand you are a home automation enthusiast, can you tell us something more about your setup? Powerline/Wired/Wireless? Cameras? Sensors? A "smart" home? Just Curious. Thanks.
  • Begging to differ (Score:3, Interesting)

    by nakaduct ( 43954 ) on Tuesday August 27, 2002 @12:13AM (#4146138)
    "a firm principle of language design [...] that in all respects equivalent programs should have few possibilities for different representation [...]. Otherwise completely different styles of programming arise unnecessarily, [...]"

    -- Edsger W. Dijkstra on Ada (source)


    Perl's philosophy is largely a complement of this sentiment. This kind of thinking was in vogue for a long time, and Perl's bucking of the trend was (largely) responsible for its popularity.

    Perl advanced the notion that syntax is not a byproduct of grammar. It should not be an orthogonal representation of the language's capabilities. It is important that the concatenation operator be one or two characters. A language is for humans to use; it should reflect how humans think. Give the computer the tedious job of normalizing that input, and spare the human's cycles for more important things.

    Read the Apocalypses, or Larry's intro to the ORA books, or the Exegeseses(es?). You'll note artifacts of this philosophy everywhere, including in a discussion of original complaint, anonymous character classes: Unicode makes unnamed character ranges less of a Right Thing than before. And with real set operators for named classes (you can say Word Characters and Whitespace but not Digits), they're a lot less necessary. They're still in there, but it's a couple extra characters to reflect their diminished relevance.

    There are some that disagree with this thinking, but I'd question what attracted them to the language in the first place.

"Engineering without management is art." -- Jeff Johnson

Working...