#!/usr/bin/perluse strict;use warnings;open IN, "in.txt" or die "Can not open in.txt for reading : $!";while ( my $line = ) { print "file:$line\n";}close IN or die "Can not close file : $!";