|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^2: conditional syntax optionsby kyle (Abbot) |
| on Jun 28, 2009 at 15:42 UTC ( #775474=note: print w/ replies, xml ) | Need Help?? |
|
A /$/ will match a newline as well as end-of-string. To match a literal end-of-string, use /\z/ instead.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||