Feb 28, 2015, 5:03 PM
Post #1 of 2
Looking for a way to chomp my files
Hello I am relatively new to perl when it comes down to functionally using it for specific things. One problem I am having is doing a specific problem that invovles getting rid of new lines within a program.
for instrance, the file has this sort of format.
The idea is to get it to look like this
Now I am trying to rid of the new lines, that way the whole thing can be put in one sign line.
I cant use a chomp option, for an $ARGV option, so I am looking for any suggestions for building an algorithm, any thoughts or suggestions ?