Check if page contains specific word
问题 How can I check if a page contains a specific word. Example: I want to return true or false if the page contains the word "candybar". Notice that the "candybar" could be in between tags (candybar) sometimes and sometimes not. How do I accomplish this? Here is my code for "grabing" the site (just dont now how to check through the site): #!/usr/bin/perl -w use utf8; use RPC::XML; use RPC::XML::Client; use Data::Dumper; use Encode; use Time::HiRes qw(usleep); print "Content-type:text/html\n\n";