Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Insert Text which is Read from the Line Above

by poj (Abbot)
on Feb 27, 2016 at 10:34 UTC ( [id://1156309]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1156309]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-18 09:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found