in reply to What are -d and -f for?

Figuring out what -d and -f means learning how to navigate the perl documentation :) See Perl documentation documentation, Searching Perl Documentation, How to Read Perldocs, all part of Tutorials sections Understanding and Using PerlMonks, Getting Started with Perl