in reply to Open several files and read line by line

I agree with BillKSmith. With a C background, when starting with Perl I tended to use short names like $fp (for "file pointer") or $fh (for "file handle") for the actual file reference. For file name variables I like to use variants of $fname.

Replies are listed 'Best First'.
Re^2: Open several files and read line by line
by jcb (Parson) on Dec 06, 2015 at 01:04 UTC
    What's wrong with using $fh if you only have one file in scope? Even the documentation uses it as an example.