I m new to perl and i have to develop such webserice which can use the perl script via html so that the source of the perl file cannot be displayed only the output is displayed.
bhavna_816
0
Junior Poster
Recommended Answers
Jump to PostDo you mean you want the perl code embedded in the html code (sort of like php)?
Search google for: "embedded perl"
Jump to PostAre you forgetting the "Content-type: text/html\n\n" line? If you do, the browser doesn't know that HTML is coming and displays the script source instead.
Also the server must know that when a browser calls a script with either the .pl or .cgi extension that it is to start the …
All 5 Replies
KevinADC
192
Practically a Posting Shark
bhavna_816
0
Junior Poster
Dukane
KevinADC
192
Practically a Posting Shark
KevinADC
192
Practically a Posting Shark
~s.o.s~
commented:
The only person to keep the Perl Forum alive ;) - ~s.o.s~
+9
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.