summaryrefslogtreecommitdiff
path: root/lib/Class
diff options
context:
space:
mode:
authorRoderick Schertler <roderick@gate.net>1996-12-20 13:23:57 -0500
committerChip Salzenberg <chip@atlantic.net>1996-12-23 12:58:58 +1200
commitb133f4ec823b00faf9bd083e0eb8e7a53ba7bfca (patch)
treeda58753b49510e306cfdcbb534598cb213a88cdc /lib/Class
parent07fa94a1e751e2c5a080fc286f50b0039fbb7a16 (diff)
downloadperl-b133f4ec823b00faf9bd083e0eb8e7a53ba7bfca.tar.gz
obstruct pod2man doc tweaks
p5p-msgid: <3923.851106237@eeyore.ibcinc.com>
Diffstat (limited to 'lib/Class')
-rw-r--r--lib/Class/Template.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Class/Template.pm b/lib/Class/Template.pm
index e45a5d3f17..311c72ae5e 100644
--- a/lib/Class/Template.pm
+++ b/lib/Class/Template.pm
@@ -30,6 +30,19 @@ use strict;
Class::Template - struct/member template builder
+=head1 SYNOPSIS
+
+ use Class::Template;
+ struct(name => { key1 => type1, key2 => type2 });
+
+ package Myobj;
+ use Class::Template;
+ members Myobj { key1 => type1, key2 => type2 };
+
+=head1 DESCRIPTION
+
+This module uses perl5 classes to create nested data types.
+
=head1 EXAMPLES
=item * Example 1