Syntactic Confectionery Delight | |
PerlMonks |
Re^5: double quote vs single quote oddities. I need enlightenmentby furry_marmot (Pilgrim) |
on Jul 08, 2010 at 18:27 UTC ( [id://848746]=note: print w/replies, xml ) | Need Help?? |
In non-interpolated strings, a double-backslash is interpreted as a single back slash.
If you look at the docs for split, it specifically says it's expecting a /PATTERN/. So it interprets both '\\.' and '\.' as /\./. --marmot
In Section
Seekers of Perl Wisdom
|
|