Home New Posts Topics Members FAQ
Post your question to a community of 467,179 developers. It's quick & easy.
Use search and replace option: s/// Expand|Select|Wrap|Line Numbers s/\\n/\n/g; For ex. if you are reading from a file and substitute '\n' in each line with newline(\n) Expand|Select|Wrap|Line Numbers open(F,"data.txt") or die "$!"; while(<F>) { s/\\n/\n/g; print $_; }
Sign in to post your reply or Sign up for a free account.