Local to Block : Code Block « Language Basics « Perl
- Perl
- Language Basics
- Code Block
Local to Block
Variable What It Does
$1.. $9 Remembered subpatterns
$& The string matched by the last pattern match
$' The string preceding what was matched in the last pattern match
$' The string that follows whatever was matched by the last pattern match
$+ The last pattern matched by the last search pattern
Related examples in the same category