Re: Literal Values

[email protected] (Michael Lazzaro)
Newsgroups perl.perl6.documentation
Message-ID <[email protected]>
On Tuesday, November 12, 2002, at 04:08  PM, Brent Dax wrote:
> Michael Lazzaro:
> # What should be the syntax for closing a section?
>
> How about the empty string?  Isn't the end of a section defined by EOF
> or when the next section starts?

I mean if you can have sections inside sections, how do you tell the 
difference between a "child" =section and a "sibling" =section?

=section blah
   =section subblah
     =section subsubblah
   =section subblah2
=section blah2

Or do you build the tree in "flattened" form, and rely on the author to 
get the numbering right?

=section 1 blah
=section 1.1 subblah
=section 1.1.1 subsubblah
=section 1.2 subblah2
=section 2 blah2

MikeL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.