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::Object - OO interface of Blosxom::Header

SYNOPSIS

  package Blosxom::Header;

  sub new {
      require Blosxom::Header::Object;
      my $header_ref = $_[1];

      Blosxom::Header::Object->new(
          get    => sub { get_header( $header_ref, @_ )    },
          set    => sub { set_header( $header_ref, @_ )    },
          has    => sub { has_header( $header_ref, @_ )    },
          remove => sub { remove_header( $header_ref, @_ ) },
      );
  }

DESCRIPTION

Wraps get_header, set_header, has_header and remove_header in an object.

AUTHOR

Ryo Anazawa (anazawa@cpan.org)

LICENSE AND COPYRIGHT

Copyright (c) 2011 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.