create an inline documented subroutine

This commit is contained in:
William Travis Holton 2012-07-26 21:41:52 +12:00
parent 4987a54300
commit 8e6b144f68

View File

@ -228,8 +228,17 @@ snippet psubi
=cut
# inline documented subroutine
snippet subpod
=head2 $1
Summarry of $1
=cut
sub ${1:subroutine_name} {
${2:# body...}
}
# Subroutine signature
snippet parg
=over 2