Syntax doesn't matter in text. That doesn't justify developing irresponsible behaviour that would impact quality if you were hired to do something where it did matter. If you were writing Perl in Perl, for example, you might want to have $/ = ';'. Undisciplined use of chomp() is the fastest way to prove yourself unsuited to this task - sure you won't see the error - doesn't mean you did it right though!