Hello Jon, here a modified script that actually works: #!/usr/bin/perl -w use CGI qw( :standard ); open(LOGFILE, "logfile.txt") or die "Can't open logfile: $!\n"; while ($temp=<LOGFILE>) { $link = $temp } print header; print "<html><head><title>test</title></head><body>"; print "<a href=\"$link\">$link<a>"; print "</body></html>"; Since I'm working at the moment I didn't have much time to write good code... Read it and get the Idea. As far as I know, there is no variable interpolation in a herelist... al -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]