Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Getting a funny newline that was not there beforeby moritz (Cardinal) |
on Mar 25, 2010 at 18:33 UTC ( [id://830930]=note: print w/replies, xml ) | Need Help?? |
but this morning I must have touched something by mistake This is a good time to start looking in your version control system what changes you did this morning. You don't have one? It's high time to start using one. It's quite easy, and really worth the (small) effort you have to put into it initially. Anyway, I suspect that problem is that you undef $/ globally, so chomp($server) does not do what you expect it to.
Perl 6 - links to (nearly) everything that is Perl 6.
In Section
Seekers of Perl Wisdom
|
|