Hi: Can you please help me write a perl script that takes the files from a directory and spits out the filenames into a file. say. I have a file structure on a file system such as C:\Temp\one C:\Temp\two C:\Temp\one\oneone C:\Temp\one\onetwo C:\Temp\one\onethree
The original file contains lines in the foll format -- "SL/" "%HOME%/server/bin/" "" NA This original file will be updated by the perl script to contain the filenames in the foll manner -- "SL/one" "%HOME%/server/bin/one" "one" NA "SL/oneone" "%HOME%/server/bin/oneone" "oneone" NA "SL/onetwo" "%HOME%/server/bin/onetwo" "onetwo" NA etc Please help. Thanks a lot!