|
|
| We don't bite newbies here... much | |
| PerlMonks |
(dont want) split to autoremove "\n"'sby endurocross (Initiate) |
| on Oct 10, 2014 at 12:53 UTC ( [id://1103409]=perlquestion: print w/replies, xml ) | Need Help?? |
|
endurocross has asked for the wisdom of the Perl Monks concerning the following question:
hello fellow coders i have my little script , and i have to add an array to some existing array , can do no issue the problem is when creating the array : my @array= split (" ", "\n</body> \n</html>"); $array[0] and $array[1] , will also have "magically" escaped the "\n" character , i mean get it lost somewere in space is there a way to split that string and let the "\n"'s in place ?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||