Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    while ( <> ) {
        ...
    }
    
  2. or download this
    ls *.txt | my_script.pl
    
  3. or download this
    my_script.pl text.txt
    
  4. or download this
    #!/usr/bin/perl
    
    ...
            push @files, $_;
        }
    }