• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Anyone for Perl?

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Anyone for Perl?

    Any of you guys know a good book on Perl?
    I can shell script to some extent, but will shortly need to get involved with Perl. I'm not a programmer (never done C and all that), so need something from the ground up.

    #2
    Re: Beginners Guide to Perl

    You might find this site useful.

    Comment


      #3
      From O'Reilly:

      Learning Perl
      Programming Perl
      Perl Cookbook

      Comment


        #4
        start running scripts on Windows - running things on unix has got lots of gotchas like not using windows text file format, unbuffering output for Apache or it is not happy etc.

        Comment


          #5
          Mordac/swamp,

          thanks for those. The website looks good, and the Lama book it is.

          Alf,

          sorry....don't do windoze. Unix is the future.

          Comment


            #6
            You might also want to use an IDE. I like OptiPerl (www.xarka.com). Runs on Windows, but you can can save to Unix (built-in FTP), and the debugger allows you to step through your code, inspect variables etc, from your Windows workstation even when the script resides on a Unix server. Also higlights syntax errors as you're typing which is very useful.

            Perl really is platform generic, so it doesn't matter if you learn on Windows or Unix, unless you need to come up to speed with vi or some other Unix editor.

            Comment


              #7
              vi would take lifetime to learn - i am waiting for memoires of that guy from Sun who left recently (he is responsible for VI) to confirm my hard believe that he was stoned whenhe came up with concept to switch between insert and command modes :lol

              Comment


                #8
                vi

                Yes the VAX VMS editor was so much better.

                Comment


                  #9
                  Re: vi

                  > switch between insert and command modes

                  I used vi some years ago and found it incredibly frustrating. For any serious work I'd ftp the file from the unix box to windoze and use my own favourite editor (Kedit - works like xedit on CMS) then ftp it back after.

                  I was told that vi was designed originally for glass teletypes and similar crippled hardware which have few if any standards for cursor movement etc. My son actually loves it.

                  Comment


                    #10
                    Re: vi

                    There's always Wordstar in non document mode....

                    control K B control K K.... etc. etc.

                    I can't believe I used to know all that stuff....

                    And the wonderful General Automation line editor...

                    @1/5,p to print out lines 1 to 5...

                    Ideal for a real teletype, not a glass one.

                    Aaaah, dear dead days beyond recall (thankfully).

                    Comment

                    Working...
                    X