Perl-Sensitive Sunglasses | |
PerlMonks |
Re^7: using hashesby kennethk (Abbot) |
on Sep 27, 2013 at 15:41 UTC ( [id://1056010]=note: print w/replies, xml ) | Need Help?? |
Hyphens aren't special outside of a character class. What makes you think they are at fault?
If your 'words' might contain punctuation, you can escape meta characters using quotemeta or synonymously \Q .. \E
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In Section
Seekers of Perl Wisdom
|
|