in reply to Do I understand this?
This will not answer your question but:
I'm pretty sure you meant =~ and not ~=
Sometimes I forget if it's =~ or ~=, so I use the following mnemonic: it is NOT supposed to be a contraction for $var = $var ~ $some_regex, so it is NOT ~=.
|
---|
In Section
Seekers of Perl Wisdom