sorry there were a lot of mails :) that approach seems to be better than the first one :)
-----Original Message----- From: Jarkko Hietaniemi [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 11:36 PM To: Sean M. Burke Cc: [EMAIL PROTECTED] Subject: Re: "=head1 Blorblor (FOO)" (was Re: Pod::Simple) > Okay, that makes sense. Nice and straightforward. > So then the new logic for the "What's the title method" would just need to > tolerate "=head1 blah blah blah whatever (NAME)" as a variant of "=head1 > NAME", i.e., both meaning "the next paragraph will be the short title of > this document". > Then I could make a "What are ALL the titles" method that wouldn't just > stop at the first NAME/blah(NAME) thing, but would read the whole document > looking for all such things. > > And, in fact, I could make these just specific ('NAME'-specific) cases of > what's-the-first-FOO / what're-all-the-FOOs methods, for arbitratry values > of FOO (like 'NAME', 'DESCRIPTION', 'AUTHOR', etc.). Sound good? Yup. -- Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen
