home *** CD-ROM | disk | FTP | other *** search
/ ftp.cse.unsw.edu.au / 2014.06.ftp.cse.unsw.edu.au.tar / ftp.cse.unsw.edu.au / pub / doc / languages / perl / nutshell / ch1 / text1 < prev    next >
Encoding:
Text File  |  1992-10-18  |  134 b   |  7 lines

  1. #!/usr/bin/perl
  2. while (@ARGV) {
  3.     $file = shift @ARGV;
  4.     push(@textfiles, $file) if -T $file;
  5. }
  6. print join(' ',@textfiles), "\n";
  7.