Discussion Locked

Create a simple text Web counter

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Tell us what you think about the ease of building a CGI application in Perl, as featured in the August 13th Perl e-newsletter. Did you find our script useful?

3 replies

by aknowmad

Kudos for providing an article that highlights the beauty and simplicity of Perl solutions. As a Perl developer who tried to use Java servlets before settling on Perl for my web development language, I appreciate seeing that Builder.com has not followed the trend of pronouncing Perl dead.

Keep up the good work!

by catsinspace

I'm a firm believer in perl (and php) for web application development but I never thought about using a perl script in this manner. Thanks for giving me a new way to think about performing certain functions that don't need a "full-blown" cgi application.

by p_teggart

I've tried this, and I'm obviously doing something daft...
The Perl Script generates valid JavaScript, but it doens't seem to be making it's way to the browser
Perl file ->
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "document.write {'hello mum'};\n";
print qq!document.write("hello mum");!;
<-
JS Output==>
Content-type: text/html

document.write {'hello mum'};
document.write("hello mum");
<==
When this code is called inside a JavaScript file - no problemo.

Any ideas?

I appreciate its' not necesarily the forum for this type of thing, but you did ask.

I thought the simplicity in itself was brilliant, but the implementation ...

This discussion is closed to new replies.