Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
That would print a comma at the end of the output string, so you would need a way to prevent it, let's say, like this:
(Sorry about replacing foreach with for - someone mentioned to me earlier that it's faster and works the same way anyways) Personally, I prefer Transient's way of doing things... although I don't quite understand why it parses split first and then map...
--------------------------------
In reply to Re^3: How do i extract 3 variables from each line in a file, and print them to a new file
by bofh_of_oz
|
|