for my $fname (@ARGV) { open(IN, $fname); print while ; close IN; } #### print while <>;