Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / XML / Atom / Category.pm
diff --git a/local-lib5/lib/perl5/XML/Atom/Category.pm b/local-lib5/lib/perl5/XML/Atom/Category.pm
new file mode 100644 (file)
index 0000000..c782520
--- /dev/null
@@ -0,0 +1,16 @@
+# $Id$
+
+package XML::Atom::Category;
+use strict;
+use base qw( XML::Atom::Base );
+
+use XML::Atom;
+
+__PACKAGE__->mk_attr_accessors(qw( term scheme label ));
+
+sub element_name { 'category' }
+
+## Maintain backwards compatibility with the old Link->set method.
+sub set { shift->set_attr(@_) }
+
+1;