The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Blosxom::Header::Class - Provides OO interface

SYNOPSIS

  {
      package blosxom;
      our $header = { -type => 'text/html' };
  }

  require Blosxom::Header::Class;

  my $h     = Blosxom::Header::Class->new;
  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( 'Set-Cookie', 'foo' );

  $h->{header}; # same reference as $blosxom::header

DESCRIPTION

Provides OO interface.

SEE ALSO

Blosxom::Header

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.