[SLE] perl question

From: peter thesing (peter43_at_xs4all.nl)
Date: 09/30/05

  • Next message: John Perry: "Re: [SLE] OpenOffice 2.0"
    Date: Fri, 30 Sep 2005 17:17:10 +0200
    To: SLE <suse-linux-e@suse.com>
    
    

    Hi All

    I am trying to run the simplest of perl scripts. However when in
    Internet Explorer as in Mozilla as in Firefox i always get the same
    error message
    http://peterspretpaleis.dyndns.org:8000/cgi-bin/guestbook.cgi
    Premature end of script headers: guestbook.cgi

    the contens of this script is

    #!/usr/bin/perl print
    ?Content-type: text/html\n\n?;
    print ?< html> ?;
    print ?< body> ?;
    print ?< h2> I just wrote my first web page using Perl!< /h2> ?;
    print ?< /body> ?;
    print ?< /html> ?;

    http://www.novell.com/coolsolutions/feature/11790.html

    and perl finds the syntax ok

    can someone shed some light on this or direct me to a place where i
    might find the answer?

    I think it would be nice to use perl with apache2 or even create my own
    perl scripts

    Thanx for your reply

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: John Perry: "Re: [SLE] OpenOffice 2.0"

    Relevant Pages