| 1 | package CGI::Test::Page::Other; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | #################################################################### | ||
| 5 | # $Id: Other.pm 411 2011-09-26 11:19:30Z nohuhu@nohuhu.org $ | ||
| 6 | # $Name: cgi-test_0-104_t1 $ | ||
| 7 | #################################################################### | ||
| 8 | # | ||
| 9 | # Copyright (c) 2001, Raphael Manfredi | ||
| 10 | # | ||
| 11 | # You may redistribute only under the terms of the Artistic License, | ||
| 12 | # as specified in the README file that comes with the distribution. | ||
| 13 | # | ||
| 14 | |||
| 15 | require CGI::Test::Page::Real; | ||
| 16 | use base qw(CGI::Test::Page::Real); | ||
| 17 | |||
| 18 | # | ||
| 19 | # ->new | ||
| 20 | # | ||
| 21 | # Creation routine | ||
| 22 | # | ||
| 23 | sub new | ||
| 24 | { | ||
| 25 | my $this = bless {}, shift; | ||
| 26 | $this->_init(@_); | ||
| 27 | return $this; | ||
| 28 | } | ||
| 29 | |||
| 30 | 1; | ||
| 31 | |||
| 32 | =head1 NAME | ||
| 33 | |||
| 34 | CGI::Test::Page::Other - A real page, but neither text nor HTML | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | # Inherits from CGI::Test::Page::Real | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | This class represents an HTTP reply containing neither C<text/hmtl> | ||
| 43 | nor C<text/plain> data. | ||
| 44 | Its interface is the same as the one described in L<CGI::Test::Page::Real>. | ||
| 45 | |||
| 46 | =head1 AUTHORS | ||
| 47 | |||
| 48 | The original author is Raphael Manfredi. | ||
| 49 | |||
| 50 | Steven Hilton was long time maintainer of this module. | ||
| 51 | |||
| 52 | Current maintainer is Alexander Tokarev F<E<lt>tokarev@cpan.orgE<gt>>. | ||
| 53 | |||
| 54 | =head1 SEE ALSO | ||
| 55 | |||
| 56 | CGI::Test::Page::Real(3). | ||
| 57 | |||
| 58 | =cut | ||
| 59 |