-n causes Perl to assume the following loop around your program, which makes it iterate over filename arguments somewhat like sed -n or awk:...