3 ms·
He's not. Read the example again. He's pointing to code that: - uses the implicit $_ variable - twice - and modifies what it points to The regex is just for
by mtts 18y ago
He's not. Read the example again. He's pointing to code that:
- uses the implicit $_ variable
- twice
- and modifies what it points to
The regex is just for dramatic effect.
- snorkel 18y agoHe didn't point out that directly but I do agree that $_ is overused among perl coders.
- kingkongrevenge 18y agoI don't think so. As long as there are no issues of nested scopes you should use $_ plenty.