OK I am using strict; and warnings; from now on. Under those conditions here is what happens- I get error #1 about 15 times because I am testing locally and the script is designed to search my site's files. Error #2 occurs for every var. What I guess I need to know now is how to record the errors the script produces when in situ on my server. Please advise me on how to do that, I assume that would need to be a sub in the script which writes the file for me?
TIA
error #2 "Global symbol "$basedir" requires explicit package name at smappend.pl line 8."