Zen::Koan - A class for representing Zen Koans
use Zen::Koan;
my $k = Zen::Koans->new( title => $title,
body => $body,
);
my $t = $k->title;
my $b = $k->body;
print $k->as_html;
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.
- 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.
A creative mind or access to one.
Luke Closs <lukec@cpan.org>
This module can only offer you so much. It is up to you to make the most of it.