in reply to Re^4: Storing the log file name as key/value in hashin thread Storing the log file name as key/value in hash
See open, print and join. A quick peruse of perldsc might help you in the slightly longer run too.