| 1 | package EntityModel::Web::Header; | ||
| 2 | { | ||
| 3 | 13 | $EntityModel::Web::Header::VERSION = '0.004'; | |
| 4 | } | ||
| 5 | 13 | ▶ | use EntityModel::Class { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 13 | name => 'string', | |
| 7 | value => 'string', | ||
| 8 | 13 | }; | |
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | EntityModel::Web::Header - HTTP header abstraction | ||
| 13 | |||
| 14 | =head1 VERSION | ||
| 15 | |||
| 16 | version 0.004 | ||
| 17 | |||
| 18 | =head1 SYNOPSIS | ||
| 19 | |||
| 20 | use EntityModel::Web::Header; | ||
| 21 | my $hdr = EntityModel::Web::Header->new( | ||
| 22 | name => 'Content-Type', | ||
| 23 | value => 'text/html', | ||
| 24 | ); | ||
| 25 | print $hdr->as_text; | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | =cut | ||
| 30 | |||
| 31 | =head1 METHODS | ||
| 32 | |||
| 33 | =cut | ||
| 34 | |||
| 35 | 13 | 1; | |
| 36 | |||
| 37 | __END__ | ||