1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need a simple Perl help

Discussion in 'Perl' started by geevee, Mar 18, 2009.

  1. geevee

    geevee New Member

    Joined:
    Mar 18, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I have a simple perl hello world script in my page

    The script is as follows.

    #!/usr/bin/perl
    print "Content-Type: text/html \n\n";
    print "Hello Perl World";

    But it doesn't work.
    It throws a Internal Server Error.
    Can anybody help???


    Thanks
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    Have given executable permissions to the script?
     
  3. ungalnanban

    ungalnanban New Member

    Joined:
    Feb 19, 2010
    Messages:
    45
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Chennai
    Its working for me how you ran your program?
     

Share This Page