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: <%-{-{-{-<
In reply to Re: First attempt at bringing in file for input/output
by AnomalousMonk
in thread First attempt at bringing in file for input/output
by catfish1116
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |