I like to make a simple script that will help me solve a simple problem.
here is some data from some FILES:
rick:data456|data of 27
dan:data of 22|data of 34
were everything need to considered as text;
*** ALSO ***
alexander:data1|data29|data888 -- exist in a file called a.data
rick:data456|data of 27 -- exist in a file called r.data
I want to do the following:
<FORM><TEXTAREA> + SUBMIT for example "rick" with POST method(from an HTML form posted through a browser) the script will first chop "r" to go to r.data file and lookup for data for "rick" and later display on the browser this:
[ Data for "rick" is: data456, data of 27 ]
how can I do it in perl(text grepp)?
is it possible ONLY in Perl; Please no shell access is available; ONLY Perl and file access is available;