in reply to Re^4: Insert Text which is Read from the Line Above
in thread Insert Text which is Read from the Line Above

replace these lines

my $infile = $ARGV[0]; my $outfile = $ARGV[1]; unless (@ARGV==2) { die "Usage : perl $0 infile outfile\n" };

with

my $infile = 'C:/Users/... /abc.txt'; my $outfile = 'C:/Users/... /output.txt';

Replies are listed 'Best First'.
Re^6: Insert Text which is Read from the Line Above
by jlb333333 (Novice) on Feb 27, 2016 at 16:50 UTC

    Hi poj

    Thank you for that info.

    It is working perfectly. I really appreciate it.

    jlb333333

      Hi poj.

      I really don't know how you guys do this stuff.