Help for this page

Select Code to Download


  1. or download this
    my $KWD = shift;
    my $file = 'input.txt';
    ...
        my ( $first) = split /:/, $para;
        print $para if $first eq $KWD;
    }
    
  2. or download this
    /^$KWD:/ and print while <in>;