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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: header Chapter 17
The LWP Library
Next: Reference: remove_header
 

push_header

 $h
->push_header
(field => val)

Adds a new header field and value to the object. Previous values of the field are not removed.

$h->push_header(Accept => 'image/jpeg');


Previous: Reference: header Perl in a Nutshell Next: Reference: remove_header
Reference: header Book Index Reference: remove_header

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.