Skip Menu |

This queue is for tickets about the Pod-Autopod CPAN distribution.

Report information
The Basics
Id: 93756
Status: new
Priority: 0/
Queue: Pod-Autopod

People
Owner: Nobody in particular
Requestors: popefelix [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Add support for named arguments
I do a lot of code using named arguments in hashrefs. I'd like it if a simple syntax (other than adding POD in the comment block above a given method) was provided for lists. E.G.: # Does a thing # # Recognized arguments: # # * 'arg1' Something # * 'arg2' Something else sub method {} # $ret (\%args) Would generate: =head2 method my $ret = $self->method(\%args) Does a thing. Recognized arguments: =over 4 =item 'arg1' Something =item 'arg2' Something else =back =cut I'm happy to help with this if you can point me to where the POD is actually generated.