Initial commit from the 2013 with minor fixes. From now and then,
[perlbook.git] / l35.pl
blob8a99882d53dcf3212a45eaf57da7a6c88d7b9719
1 #!/usr/bin/perl -w
2 use strict;
3 use warnings;
5 -e "some.txt" or die "Нет такого файла.\n";
7 open(my $fh ,"<some.txt") or die "Не могу открыть файл\n";
9 print $_ while <$fh>;