=~ can also be used in list context to obtain the list of captures: $1, $2, etc.
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)
In reply to Re^2: Explaining =~ and .= operators
by rinceWind
in thread Explaining =~ and .= operators
by Thelonius Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |