=over =item $POSTMATCH =item $' X<$'> X<$POSTMATCH> X<${^POSTMATCH}> X<@-> The string following whatever was matched by the last successful pattern match (not counting any matches hidden within a BLOCK or C enclosed by the current BLOCK). Example: local $_ = 'abcdefghi'; /def/; print "$`:$&:$'\n"; # prints abc:def:ghi The use of this variable anywhere in a program imposes a considerable performance penalty on all regular expression matches. To avoid this penalty, you can extract the same substring by using L. Starting with Perl v5.10.0, you can use the C

match flag and the C<${^POSTMATCH}> variable to do the same thing for particular match operations. This variable is read-only and dynamically-scoped. Mnemonic: C<'> often follows a quoted string. =back