perl 5.003_04: lib/Test/Harness.pm
[p5sagit/p5-mst-13.2.git] / lib / subs.pm
index 8b58357..84c913a 100644 (file)
@@ -1,8 +1,24 @@
 package subs;
 
-require 5.000;
+=head1 NAME
+
+subs - Perl pragma to predeclare sub names
+
+=head1 SYNOPSIS
+
+    use subs qw(frob);
+    frob 3..10;
 
-$ExportLevel = 0;
+=head1 DESCRIPTION
+
+This will predeclare all the subroutine whose names are 
+in the list, allowing you to use them without parentheses
+even before they're declared.
+
+See L<perlmod/Pragmatic Modules> and L<strict/subs>.
+
+=cut
+require 5.000;
 
 sub import {
     my $callpack = caller;