In this example, I want to display the current time the page is viewed. A simple Perl script can do this:
#!/usr/bin/perl
#helloworld.pl
print "Content-type: text/html \n\n";
$time = localtime();
print "<p>Hello World! It is $time</p>\n";
Continue reading Embedding Perl Script into WordPress Blog Posts