Help for this page

Select Code to Download


  1. or download this
    for(@array){
        ($i)= grep { m/^#/ } $_;
        push @new, $i;
    }
    
  2. or download this
    while (<INFILE>) {
      next if /^#/;
      print OUTFILE $_;
    }
    
  3. or download this
    
    perl -ne '/^#/ or print'
    ...
    
    perl -pe '$_ x= !/^#/'