Blosxom::Header::Object - Wraps subroutines exported by Blosxom::Header in an object
use Blosxom::Header::Object; my $h = Blosxom::Header::Object->new( $blosxom::header ); my $value = $h->get( 'foo' ); my $bool = $h->exists( 'foo' ); $h->set( foo => 'bar' ); $h->delete( 'foo' ); my @cookies = $h->get( 'Set-Cookie' ); $h->push_cookie( 'foo' ); $h->header; # same reference as $blosxom::header
Wraps subroutines exported by Blosxom::Header in an object.
Ryo Anazawa (anazawa@cpan.org)
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.
To install Blosxom::Header, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Blosxom::Header
CPAN shell
perl -MCPAN -e shell install Blosxom::Header
For more information on module installation, please visit the detailed CPAN module installation guide.