home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.