--On Mittwoch, 14. November 2001 09:44 -0800 Wagner-David <[EMAIL PROTECTED]> wrote:
> So given your new data, I am unsure what data would be placed in the > hash. From your example, what is expected? > > Wags ;) > In %Authorhash, a main heading should be assigned to the heading number (it's called "Authorhash" because the headings are names of authors), whereas in %Texthash, the text in between a heading and the first subheading should be assigned to the same heading number. So after running the code, $Authorhash{1} should be "This is a heading", whereas $Texthash{1} should be ".............text in between ...\n1. List item 1\nList item 2\n..... more text in between". > __DATA__ > 1. This is a heading > ........text in between ... > 1. List item 1 > 2. List item 2 > ..... more text in between > 1.1. A subheading > ... and this is text after subheading 1.1 > 1.2. Another subheading > 2. Another heading > ....... > 3. Yet another heading > ...... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]