Perl Programming Assignment #5
COSC 146

Looking for hyperlinks in a web page

Please note: this is an exercise in regular expressions!!!!

We will assume a hyperlink takes the following form:

<a href =     >

We make NO assumptions about capital letters or spacing. We WILL assume that there is at most 1 hyperlink on a line.
You may need to consult your text or other references to complete this assignment.

All urls should be pushed onto an array and at program termination the array should be printed out. You should employ
I/O redirection to read an .html file  .

If the input file contains the line:

<b><a   href = "http://www.emich.edu/~smith/mystuff.html"></b>

then

www.emich.edu/~smith/mystuff.html

should be pushed onto the array. You should test your program on **many** web pages.