Hi,

It might be a bit out topic, but I hope experts in  perl will give
me some solution.. As it includes the perl and the list will support it I
hope solution from this list..

I have the following script that execute at command prompt and working
fine ..

#!/usr/bin/perl

perl -pi -e 's/^(user)(\s+.*)(old)(.*)$/${1}${2}new${4}/' filename


For replacing the old item with the new item based on one filed (here
user).

  Is there any similar script available to execute from browser.. I wil
pass the messages from html, so the script has to take three parameters ..
$user, $old, $new .. and perform on "filename"

Thanks in advance..                                                            

Kiran


Reply via email to