#!/usr/local/bin/perl print <<A; Content-type: text/html <HTML><HEAD> <META HTTP-EQUIV="refresh" CONTENT=10> </HEAD><BODY> コメント<p> <hr> A open(IN,'keiji.txt'); # flock(IN,2); while($data=<IN>){print $data;} close(IN); # flock(IN,8); print <<B; </BODY></HTML> B |