Help for this page

Select Code to Download


  1. or download this
    open(FILE1, $ARGV[0]) || die "Error: $!\n";
    @lines = <FILE1>;
    
  2. or download this
    @lines = $_;
    
  3. or download this
    $foo = $_;
    
  4. or download this
    $foo .= $_;
    
  5. or download this
    $foo = $foo . $_;
    
  6. or download this
    push @lines, $_;