I am using this LWP::UserAgent; in quite a few applications. Now I am interested to know, is there any way to search for a given variable in a website. Let's say. I have a form which takes input from user.
$user_input=$pa ge->param('input') ;
if($response->content =~ m/$user_input/i) is not working???
I know this will work for some string like
if($response->content =~ m/Jazz/i)
But...
User Profile
Collapse
-
Need help regarding usage of LWP:UserAgent;
-
Thanks Fary4u for ur reply. Do you have some simple/sample code to show in for the same? I searched in web but all are confusing for a beginner like me. -
am using Perl/CGI. Can you point to me some sample code for this purpose?
Thanks a bunch!Leave a comment:
-
Dynamic Values for DropDowns
I have a page with all form field to take input from user.
ex : when user selects a Country automatically all the states within that country should be populated in second list box with values(states) fetched from database.
and if I select state again all the cities under this state would appear in 3rd drop down.. like that...
I know Ajax will do this thing.. But can anyone point me to the sample code..
No activity results to display
Show More
Leave a comment: