Thread: perl

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 1999
    Location
    Los Angeles, Ca, 90047
    Posts
    1
    Rep Power
    0
    I've been trying to get this two line perl script going, it's only suppose to say hello.
    maybe if someone could lead me throught the setting the scripts up I would be alright.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    USA
    Posts
    67
    Rep Power
    15
    im also new at perl, but i may be able to help.

    this is what you should do:
    #!location of your perl
    print "hello world.";

    if you are doing it for the web, do this
    #!location of perl
    print "Content-type:text/htmlnn";
    print "Hello World.";
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    108
    Rep Power
    15
    Check webmonkey's tutorial on Perl http://hotwired.lycos.com/webmonkey/...tw=programming
    for a beginners' instructions on writing and using perl.

    Good Luck!
    yoshi http://www.datera.com
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    London, England
    Posts
    251
    Rep Power
    15
    If you're an absolute, total beginner, get the book "Perl and CGI for the World Wide Web" by Elizabeth Castro. You can get it at Amazon.com and all the usual places.
    http://www.amazon.com/exec/obidos/AS...621359-3369603

    It assumes you know nothing about Perl, CGI or Unix, just a bit of HTML. It cheap too, and money well spent as it explains all the very basic things that even other beginners' books leave out because they assume they're obvious.

IMN logo majestic logo threadwatch logo seochat tools logo