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
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.
Trending Web Development posts
Sort by Trending