Help for this page

Select Code to Download


  1. or download this
    use file_read;
    my $a=0;
    ...
    $a+=1;
    }
    print "$a";
    
  2. or download this
    package file_read;
    while(<STDIN>){
    print;
    }
    1;
    
  3. or download this
    perl fileread.pl </tmp/file