M
mparker
Hi all,
I have a perl script that ftp's to a server and downloads a file
everyday. The file name is currently called ag051509.txt(051509 is
the date and changes daily). I need to rename that file to agents.txt
using a script. Since the name changes everyday I need to do
something that is equivalent to ag*.txt in unix. Is there something I
can write that is close to -
rename(ag*.txt, agents.txt)
Any help would be greatly appreciated. Thanks in advance!
I have a perl script that ftp's to a server and downloads a file
everyday. The file name is currently called ag051509.txt(051509 is
the date and changes daily). I need to rename that file to agents.txt
using a script. Since the name changes everyday I need to do
something that is equivalent to ag*.txt in unix. Is there something I
can write that is close to -
rename(ag*.txt, agents.txt)
Any help would be greatly appreciated. Thanks in advance!