XP is just a number | |
PerlMonks |
Re: paragraph mode and <DATA>by roboticus (Chancellor) |
on Mar 12, 2011 at 23:24 UTC ( [id://892878]=note: print w/replies, xml ) | Need Help?? |
I tried your program and had the same results. When I looked at it via: od -t x1 892874.plI noticed it had DOS/Windows line endings (\r\n). I notice that if you remove the carriage returns, it works just fine:
It also worked fine when I set $/ to "\r\n\r\n". ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|