summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Class/Template.pm13
-rw-r--r--lib/Time/tm.pm4
2 files changed, 17 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
diff --git a/lib/Time/tm.pm b/lib/Time/tm.pm
index 87fc883b88..d1df295683 100644
--- a/lib/Time/tm.pm
+++ b/lib/Time/tm.pm
@@ -13,6 +13,10 @@ __END__
Time::tm.pm - internal object used by Time::gmtime and Time::localtime
+=head1 SYNOPSIS
+
+Don't use this module directly.
+
=head1 DESCRIPTION
This module is used internally as a base class by Time::localtime And