Good thinking! That could well be the answer. I'm using AVG, MS Anti-Spyware and also have the MS SP2 Security Center running. Any one of those three could be checking the html file, which opens, appends and closes each time.
I've had a quick look at how WinXP can log things, but not in much details yet. Hopefully, that'd give me the definite answer.
This is the section of the code I'm using with the html output file bolded. It's probably not terribly elegant or efficient but as I'm a relative newbie to perl and it works okay outputting to txt files, it does the job currently. I can always rename the txt to html if necc :-)
Basically it reads each line of a file (
http://domain.tld) into the variable and prints it out with an href around it and the domain.tld completing the link.
Code:
open (CLEANLINKSFILE, "$WorkingDir/InputLinks.txt");
foreach $CleanedLinksGrab (<CLEANLINKSFILE>)
{
chomp $CleanedLinksGrab;
$CleanedLinks = "$CleanedLinksGrab";
open (XENULINKSFILE, ">>$WorkingDir/OutputLinks.html");
print XENULINKSFILE "<a href=\"$CleanedLinks\">$CleanedLinks</a><br>\n";
close (XENULINKSFILE);
}
close (CLEANLINKSFILE);