subs(3) Perl Programmers Reference Guide subs(3) NNNNAAAAMMMMEEEE subs - Perl pragma to predeclare sub names SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS use subs qw(frob); frob 3..10; DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN This will predeclare all the subroutine whose names are in the list, allowing you to use them without parentheses even before they're declared. Unlike pragmas that affect the $^H hints variable, the use vars and use subs declarations are not BLOCK-scoped. They are thus effective for the entire file in which they appear. You may not rescind such declarations with no vars or no subs. See the section on _P_r_a_g_m_a_t_i_c _M_o_d_u_l_e_s in the _p_e_r_l_m_o_d_l_i_b manpage and the section on _s_t_r_i_c_t _s_u_b_s in the _s_t_r_i_c_t manpage. 12/Jul/1999 perl 5.005, patch 03 1