start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: remove_header Chapter 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_header Perl in a Nutshell Next: 17.3 The HTTP Modules
Reference: remove_header Book Index 17.3 The HTTP Modules