hi friends, i made executable of perl application using PDK say helloworld.exe. made from Helloworld.pl
the code in my script was
#!/usr/bin/perl print "Content-type:text/html\n\n"; print "<HTML><HEAD>"; print "<TITLE>HelloWorld</TITLE></HEAD>"; print "<BODY BGColor=fffff><TABLE Width='100%'><TR><TD><H2>Hello World +..!</H2></TR></TD></TABLE>"; print "</BODY></HTML>";


i made exe of this perl script using PDK and run it at my test site then it is giving out put on browser
"Hello World..!"
but when i use this code
#!/usr/bin/perl print "Content-type:text/html\n\n"; print <<HTML_END; <HTML><HEAD> <TITLE>HelloWorld</TITLE></HEAD> <BODY BGColor=fffff><TABLE Width='100%'><TR><TD><H2>Hello World..!</H2 +></TR></TD></TABLE> </BODY></HTML> HTML_END

now this time it is not shwoing that out put.

well, for your information
in both case i'm running this exe on my test site where perl is not installed and i'm running this exe via php script.

platform is WindowsXP
server IIS 6.0
now i'm very confused why is it so. one time getting output and second time not.
let me know if need more detail.
Thanks
Ashwani

In reply to perl application's executable not shwoing result! by ashwani

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.