- ${^MATCH}
-
It is only guaranteed to return a defined value when the pattern was compiled or executed with the
/p
modifier.It is only guaranteed to return a defined value when the pattern was compiled or executed with the
/p
modifier. (TBT)This is similar to
$&
($MATCH
) except that to use it you must use the/p
modifier when executing the pattern, and it does not incur and performance penalty associated with that variable.これは
$&
($MATCH
) と同様ですが、 パターンを実行するときに/p
修飾子を使わなければならず、 この変数と関連付けられた性能上のペナルティを被りません。See "Performance issues" above.
前述した "Performance issues" を参照してください。
This variable was added in Perl v5.10.0.
この変数は Perl v5.10.0 で追加されました。
This variable is read-only, and its value is dynamically scoped.
この変数は読み込み専用で、その値は動的スコープを持ちます。