Hi All,

I am a newbie to Perl. I wanted to write a below utility:-

1) Read a list of file names (from another file)
2) Search for String1 (this  is an entire line in the file names
obtained from the list)
3) "gvim-dd" or remove that line and insert it right after another
line(after a string2) in the same file.

Please could someone advice me if:-

1) Perl is the best option for this or should I use any shellscript?
2) If I am using Perl, can I directly use gvim commands such as "dd"
or "p" (to remove and paste after the String 2), or does Perl have
commands to directly delete and replace within files (I couldn't find
this info in the Perl Document with me)

Thanks in advance
Melvin


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to