If you run this through ssh or telnet then it doesn't matter wether you name it .pl .cgi. or whatever, you should just put it in a file and then put the file in a starting directory, and make sure the script can create a file in that starting directory, and then type: 'perl file.pl', without the quotes, list.txt will then be created with the directories and stuff.
|