Add ARM files
[dh-make-perl] / dev / arm / libperl-critic-perl / libperl-critic-perl-1.088 / t / Documentation / RequirePodSections.run
diff --git a/dev/arm/libperl-critic-perl/libperl-critic-perl-1.088/t/Documentation/RequirePodSections.run b/dev/arm/libperl-critic-perl/libperl-critic-perl-1.088/t/Documentation/RequirePodSections.run
new file mode 100644 (file)
index 0000000..5cd9779
--- /dev/null
@@ -0,0 +1,130 @@
+## name No code
+## failures 0
+## cut
+=pod
+
+=head1 NO CODE IN HERE
+
+=cut
+
+#-----------------------------------------------------------------------------
+
+## name No POD
+## failures 0
+## cut
+#!/usr/bin/perl
+print 'Hello World';
+
+#-----------------------------------------------------------------------------
+
+## name Missing many sections
+## failures 10
+## cut
+#!/usr/bin/perl
+
+print 'Hello World';
+
+__END__
+
+=head1 NAME
+
+Blah...
+
+=head1   DESCRIPTION
+
+Blah...
+
+=head1 USAGE
+
+Blah...
+
+#-----------------------------------------------------------------------------
+
+## name No shebang, this is a library
+## failures 8
+## cut
+#No shebang, this is a library
+#POD is inline with code too
+
+=head1 NAME  
+
+Blah...
+
+=head1  DESCRIPTION
+
+Blah...
+
+=cut
+
+print 'Hello World';
+
+=head1  SUBROUTINES/METHODS 
+
+Blah...
+
+=cut
+
+sub foobar {}
+
+=head1 AUTHOR
+
+Santa Claus
+
+=cut
+
+#-----------------------------------------------------------------------------
+
+## name Passing parms, for a library
+## failures 0
+## parms {lib_sections => 'mi nombre | el descripcion'}
+## cut
+
+print 'Hello World';
+
+__END__
+
+=head1 MI NOMBRE
+
+Blah...
+
+=head1 EL DESCRIPCION
+
+Blah...
+
+=cut
+
+#-----------------------------------------------------------------------------
+
+## name Passing parms, for a program
+## failures 0
+## parms {script_sections => 'mi nombre | el descripcion'}
+## cut
+#!/usr/bin/perl
+
+__END__
+
+=head1 MI NOMBRE
+
+Blah...
+
+=head1 EL DESCRIPCION
+
+Blah...
+
+=cut
+
+##############################################################################
+#      $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/Perl-Critic/t/Documentation/RequirePodSections.run $
+#     $Date: 2008-03-16 17:40:45 -0500 (Sun, 16 Mar 2008) $
+#   $Author: clonezone $
+# $Revision: 2187 $
+##############################################################################
+
+# Local Variables:
+#   mode: cperl
+#   cperl-indent-level: 4
+#   fill-column: 78
+#   indent-tabs-mode: nil
+#   c-indentation-style: bsd
+# End:
+# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround :