Help for this page

Select Code to Download


  1. or download this
    while (<DATA>) { 
      chomp; 
    ...
      next unless /([^\s]+)/; 
      push(@enabled_lines, $1); 
    }
    
  2. or download this
    while (<DATA>) { 
      chomp; 
      s/#.*$//; 
      push(@enabled_lines, $1) if /([^\s]+)/;
    }
    
  3. or download this
    while (<DATA>) { 
      chomp; 
    ...
      push @enabled_lines, $1
        if /(\S+)/;
    }