first thanks for your reply.
I want to open vi editor separately externally to open a file which is the output of Perl. This file I need to open in vi editor so that user can use the functions of editor to change anything he want to and upload the file back to original one