in reply to First attempt at bringing in file for input/output
Please see open for many generic examples of file I/O, perhaps followed by a browse through perlopentut. (Also, taking a look at Tutorials -> Input and Output -> Suffering from Buffering may save some future hair loss.)
Give a man a fish: <%-{-{-{-<
|
|---|