Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.21 KB | None | 0 0
  1. #!/usr/bin/perl
  2. use strict;
  3. open SAVEF, ">savefile.txt";
  4.   or die "Ошибка при открытии файла savefile.txt: $!";
  5.  
  6. foreach (<>) {
  7.  if (open file, "<$_") {
  8.     @f=<file>
  9. }
  10. }
  11.  
  12. close SAVEF;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement