Help for this page

Select Code to Download


  1. or download this
    if ($info =~ /(\d+)-(\d+)/) {
            $changes{$file}{$_} = 1 foreach ($1..$2)
        } else {
            $changes{$file}{$info} = 1;
        }
    
  2. or download this
    $line =~ m/~(\d+)~/;
    print $line if $changes{$file}{$1};