Luke Closs > Zen-Koans > Zen::Koan

Download:
Zen-Koans-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Zen::Koan - A class for representing Zen Koans

SYNOPSIS ^

  use Zen::Koan;
  my $k = Zen::Koans->new( title => $title,
                           body  => $body,
                         );
  my $t = $k->title;
  my $b = $k->body;
  print $k->as_html;

DESCRIPTION ^

A koan (pronounced /ko.an/) is a story, dialog, question, or statement in the history and lore of Chan (Zen) Buddhism, generally containing aspects that are inaccessible to rational understanding, yet that may be accessible to intuition.

This module contains code to represent a zen koan.

INTERFACE ^

new( %opts )

Create a new koan with new. The following options are suggested:

title
body

These functions return the values of the koan.

title

Returns the title of the koan.

body

Returs the body of the koan.

as_html

Returns the koan formatted in HTML.

DEPENDENCIES ^

A creative mind or access to one.

BUGS AND LIMITATIONS ^

None.

AUTHOR ^

Luke Closs <lukec@cpan.org>

DISCLAIMER OF WARRANTY ^

This module can only offer you so much. It is up to you to make the most of it.

syntax highlighting: