Code developed in class:
search_url.pl: Call it with the syntax:
search_url.pl URL PAT
and it retrieves a page at the URL and returns lines from the page with the given pattern matching PAT.
search_text.pl: Called with:
search_text.pl PAT < FILE
and it returns lines that match the pattern PAT in the file FILE. Recall that the less-than symbol "<" sends the file into the standard input.
libText.pm: A library that currently contains one function that finds matching lines in a given string. Both the above Perl scripts use libText.pm.