summaryrefslogtreecommitdiff
path: root/pod/modpods/subs.pod
blob: b54b6754ceacb4a6bb9108cad719eebd356cedd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
=head1 NAME

subs - Perl pragma to predeclare sub names

=head1 SYNOPSIS

    use subs qw(frob);
    frob 3..10;

=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>.