- $POSTMATCH
- $'
-
The string following whatever was matched by the last successful pattern match (not counting any matches hidden within a BLOCK or
eval()
enclosed by the current BLOCK). Example:最後の成功したパターンマッチ (現在のBLOCK で囲まれた BLOCK や eval() に 隠れている部分でのマッチは勘定に入れない) でマッチした部分に続く文字列。 例:
local $_ = 'abcdefghi'; /def/; print "$`:$&:$'\n"; # prints abc:def:ghi
local $_ = 'abcdefghi'; /def/; print "$`:$&:$'\n"; # abc:def:ghi を表示
See "Performance issues" above for the serious performance implications of using this variable (even once) in your code.
この変数を(一度でも)使うことによる重大な性能の問題については前述した "Performance issues" を参照してください。
This variable is read-only and dynamically-scoped.
この変数は読み込み専用で動的スコープを持ちます。
Mnemonic:
'
often follows a quoted string.記憶法:
'
は多くの場合クォートされた文字列の後にある。