|Perl: the Markov chain saw|
Why do spaces keep getting added after I print the elements of an array?by scottstef (Curate)
|on Jun 27, 2001 at 22:42 UTC||Need Help??|
scottstef has asked for the
wisdom of the Perl Monks concerning the following question:
Greetings friends, I did a super search for removing spaces, and wasn't quite sure how it carried over to an array. I am trying to read data from a file, split it, into an array and then print elements into another file.
Here is the code i am using:
Here is the data that gets generated:
I keep getting spaces added after the fields.
"The social dynamics of the net are a direct consequence of the fact that nobody has yet developed a Remote Strangulation Protocol." -- Larry Wall