Babble::Output - Base output class for Babble


Babble documentation Contained in the Babble distribution.

Index


Code Index:

NAME

Top

Babble::Output - Base output class for Babble

DESCRIPTION

Top

Babble::Output is a base class, a class which should never ever be used directly by applications (as it does nothing useful).

This class is merely provided to be a base to inherit from. All descendants must implement at least the methods this class implements.

METHODS

Top

output($babble, $params)

This method takes the Babble object refernece in its first argument, and all the supplied parameters (as a hashref), and does whatever is necessary to return a scalar, containing the output.

AUTHOR

Top

Gergely Nagy, algernon@bonehunter.rulez.org

Bugs should be reported at http://bugs.bonehunter.rulez.org/babble.

SEE ALSO

Top

Babble::Output::RSS, Babble::Output::TTk


Babble documentation Contained in the Babble distribution.
## Babble/Output.pm
## Copyright (C) 2004 Gergely Nagy <algernon@bonehunter.rulez.org>
##
## This file is part of Babble.
##
## Babble is free software; you can redistribute it and/or modify it
## under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 dated June, 1991.
##
## Babble 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.  See the GNU General Public License
## for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

package Babble::Output;

use strict;
use Carp;

use Exporter ();
use vars qw(@ISA);
@ISA = qw(Exporter);

sub output {
	croak "output() unimplemented in this class!";
}

1;

# arch-tag: be29e29a-cf35-4694-a21b-51553335fe4b