in reply to Re: Appending string to all lines
in thread Appending string to all lines
It is simply a single line attempt.
It generates the Bareword error. I have been reading on that topic and can see that the earlier comment pointing me to Text::CVS module is the correct approach. So that is where I'm going.#!/usr/bin/perl use strict; use warnings; perl -ne 'chomp; printf "%sUF,A,Y,9,U\n", $_' test2.csv;
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Appending string to all lines
by hippo (Archbishop) on Nov 11, 2016 at 16:10 UTC |