Help for this page

Select Code to Download


  1. or download this
    my @tworows = split /[^\n]+\n[^[n]+\n/, $text;
    
  2. or download this
    s/((\w+).+\1.+\1.+)\n(.+)/something/
    
  3. or download this
    
    1. 
    ...
    
    
    4. it looks like you're using a numeric == to compare ascii fields lik
    +e $row1[0] == $row2[0] when col 0 contains things like 'PF'. Use eq f
    +or these compares. You can't use == there.