NAME
Blosxom::Header::Adapter
SYNOPSIS
use CGI qw/header/;
use Blosxom::Header::Adapter;
my %adaptee = ( -type => 'text/plain' );
tie my %adapter => 'Blosxom::Header::Adapter' => \%adaptee;
$adapter{Status} = '304 Not Modified';
print header( %adaptee );
DESCRIPTION
METHODS
- $adapter = tie %adapter, 'Blosxom::Header::Adapter', \%adaptee
-
Associates a new hash instance with Blosxom::Header::Adapter.
- $adapter{ $field } = $value
- $value = $adapter{ $field }
- $deleted = delete $adapter{ $field }
- $bool = exists $adapter{ $field }
- $bool %adapter
- ( $field, $value ) = each %adapter
- %adapter = ()
-
A shortcut for
%adaptee = ( -type => q{} );
- $adapter->nph()
- $adapter->attachment()
SEE ALSO
AUTHOR
Ryo Anazawa (anazawa@cpan.org)
LICENSE AND COPYRIGHT
Copyright (c) 2011-2012 Ryo Anazawa. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.