in reply to Re^2: Open Vieditor using perl/perl cgi script
in thread Open Vieditor using perl/perl cgi script

So you want something like:

my $file= "/tmp/file-to-edit"; # Let the user edit the file system("vi $file") == 0 or die "Uhoh: $? / $!"; # Now, reupload the file to the website (however)

Replies are listed 'Best First'.
Re^4: Open Vieditor using perl/perl cgi script
by Anonymous Monk on Sep 11, 2014 at 08:55 UTC
    Thank u I got the problem resolved u saved my 1 week time which I thought to spend on this
Re^4: Open Vieditor using perl/perl cgi script
by Anonymous Monk on Sep 11, 2014 at 08:41 UTC
    yeah but this code is not displaying the full content of the file and how can user edit the changes he want to make.

      Monks this code that is given will open vi editor in back end and it will just display the output . so how can the user change anything in the file