Help for this page

Select Code to Download


  1. or download this
    open(file1, "sample.txt") or die("ack - $!");
    
  2. or download this
    print(<file1>);
    
  3. or download this
    seek(file1, 0, 0);
    
  4. or download this
    print scalar(<file1>);