Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: endtagChapter 17
The LWP Library
Next: Reference: implicit
 

extract_links

 $h->extract_links([types])

Retrieves the links contained within an element and all of its child elements. This method returns a reference to an array in which each element is a reference to an array with two values: the value of the link and a reference to the element in which it was found. You may specify the tags from which you want to extract links by providing their names in a list of types.


Previous: Reference: endtagPerl in a NutshellNext: Reference: implicit
Reference: endtagBook IndexReference: implicit