debian man page for courriel::header

Query: courriel::header

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Courriel::Header(3pm)					User Contributed Perl Documentation				     Courriel::Header(3pm)

NAME
Courriel::Header - A single header's name and value
VERSION
version 0.29
SYNOPSIS
my $subject = $headers->get('subject'); print $subject->value();
DESCRIPTION
This class represents a single header, which consists of a name and value.
API
This class supports the following methods: Courriel::Header->new( ... ) This method requires two attributes, "name" and "value". Both must be strings. The "name" cannot be empty, but the "value" can. $header->name() The header name as passed to the constructor. $header->value() The header value as passed to the constructor. $header->as_string( charset => $charset ) Returns the header name and value with any necessary MIME encoding and folding. The "charset" parameter specifies what character set to use for MIME-encoding non-ASCII values. This defaults to "utf8". The charset name must be one recognized by the Encode module. $header->stream_to( output => $output, charset => ... ) This method will send the stringified header to the specified output. The output can be a subroutine reference, a filehandle, or an object with a "print()" method. The output may be sent as a single string, as a list of strings, or via multiple calls to the output. See the "as_string()" method for documentation on the "charset" parameter.
ROLES
This class does the "Courriel::Role::Streams" role.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) perl v5.14.2 2012-03-07 Courriel::Header(3pm)
Related Man Pages
encode::mime::header(3pm) - mojave
courriel::header::contenttype(3pm) - debian
courriel::headerattribute(3pm) - debian
courriel::part::multipart(3pm) - debian
encode::mime::header(3pm) - suse
Similar Topics in the Unix Linux Community
Adding header to an existing file
How to achieve this?
Removing Header from files before Concatenation
Help with the Header and Footer check
Create HTML with Header and assign values