Your skill will accomplish what the force of many cannot |
|
PerlMonks |
need help in writing aperl scriptby jag194u (Initiate) |
on May 27, 2015 at 02:58 UTC ( [id://1127921]=perlquestion: print w/replies, xml ) | Need Help?? |
jag194u has asked for the wisdom of the Perl Monks concerning the following question:
HI all..iam new to perl
i have a multiple lines like the below in a file
write_x("string1",one,two,"string2");
i need to modify the above line to
writing.reg("string1").write(two,one);
i want to give a file name as input to the script and let the script parse through the file to find the line and change it.
Any help would be greatly appreciated.
Thanks.
Back to
Seekers of Perl Wisdom
|
|