Help for this page

Select Code to Download


  1. or download this
    open(IN,"myfile.txt");
    
  2. or download this
    while(<IN>){
      each line of your file is iterated over...
      the contents of each line are stored in the variable $_
    }