Umm. Don't you need an http header?
print "content type: text/html\n\n";
before printing anything else out. CGI.pm would allow you to just say
'print header();' btw.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 6:41 PM
> To: [EMAIL PROTECTED]
> Subject: one last attempt?
>
>
> Well i'm about to chuck perl out the window
>
> this is the command line from my index.htm file
> <!-- #exec cmd="/home/thx-1138/counter-.cgi" -->
>
> I've made this so darn simple it should work.
> this is the perl program in my cgi-bin:
>
> #!/usr/bin/perl -w
> use strict;
> use diagnostics;
> my $count;
> $count = "12345";
> print "<font color=\"blue\">-(</font><font
> color=\"green\">$count</font><font color=\"blue\">)-</font>";
> exit;
>
>
> does anyone see why this wouldn't print to my index.htm file
> cause if i can't get this simple code to work, how can i get
> the whole bloody counter program to work.... would someone
> please just give me the freaking answer on how to make this work?!
>