Help for this page

Select Code to Download


  1. or download this
           $<digits>
                   Contains the subpattern from the corresponding set
                   of parentheses in the last pattern matched, not
                   counting patterns matched in nested blocks that
                   have been exited already.  (Mnemonic: like
                   \digits.)  These variables are all read-only.
    
  2. or download this
    my $value = 'not found';
    while (<FILE>) {
        $value = $1, last if /TARGET\s?=\s?(\S*)\s/;
    }