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 I need to give a variable here. Please help.
$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 I need to give a variable here. Please help.