this is a counter script i am working on, but i can't get it to work. if the script isn't the problem, what else could be? i renamed the page .shtml, and included the ssi call in the page.
#!/usr/bin/perl
open(COUNT, "count.dat");
$count = <COUNT>;
close (COUNT);
open(COUNT, "> count.dat");
$count += 1;
print COUNT "$count";
close (COUNT);
print "$count";
#!/usr/bin/perl
open(COUNT, "count.dat");
$count = <COUNT>;
close (COUNT);
open(COUNT, "> count.dat");
$count += 1;
print COUNT "$count";
close (COUNT);
print "$count";