Quoth ge...@hughes.net (Geoffrey Leach): > I'd appreciate some advice here. > > Getopt::Auto was conceived by Simon Cozens. I've recently adopted it. > > The idea with Getopt::Auto is that it scans your POD looking for =heads > or =item that have the format: 'foo - what this does is bar', the > single word followed by a dash being the critical parts, and constructs > an option-recognition scheme for foo. > > All this is well and good, but it seems to me that there's a flaw, > which is that there's no way to say that foo takes a string, or int, or > ... > > So that needs to be specified, and while 'foo - ....' is probably > acceptable to the POD writer, 'foo int - ...' might be less so, taking > into account that all of that appears in your POD's paragraph headings.
Something like =item foo (number) - ... might be OK. As Jonathan said, this must be strictly optional, of course. Ben