Hope this helped.if ($content =~ /^(sub\s+\w+)[^#]*(#.*)?/) { print "$1\n"; print "$2\n" if ($2); }
In reply to Re: Automatic documentation stubs for .pl source
by CombatSquirrel
in thread Automatic documentation stubs for .pl source
by Foggy Bottoms
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |