Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: remove_headerChapter 17
The LWP Library
Next: 17.3 The HTTP Modules
 

scan

 $h->scan($sub)

Invokes the subroutine referenced by $sub for each header field in the object. The subroutine is passed the name of the header and its value as a pair of arguments. For header fields with more than one value, the subroutine will be called once for each value.


Previous: Reference: remove_headerPerl in a NutshellNext: 17.3 The HTTP Modules
Reference: remove_headerBook Index17.3 The HTTP Modules