in reply to Automatic documentation stubs for .pl source
if ($content =~ /^(sub\s+\w+)[^#]*(#.*)?/) { print "$1\n"; print "$2\n" if ($2); } [download]