develooper Front page | perl.perl6.language | Postings from February 2004

Re: Exegesis 7: Overflow Fields

Thread Previous | Thread Next
Mark A. Biggar
February 28, 2004 16:09
Re: Exegesis 7: Overflow Fields
Message ID:
Luke Palmer wrote:

> Mark A. Biggar writes:
>>Larry Wall wrote:
>>>On Sat, Feb 28, 2004 at 11:59:15AM -0800, Gregor N. Purdy wrote:
>>>: Smylers --
>>>: So, what I'm looking for is more explicit phrasing around "immediately
>>>: above". In the example, the column range for the overflow field is
>>>: exactly the same as that of the $method field in the prior "picture".
>>>: But, what does it do if it doesn't match *exactly*? Is it an error,
>>>: does it have some heuristics to guess? What are the edge cases?
>>>Well, obviously this is one of those places where the implementation
>>>is the spec.  :-)
>>Arn't there cases where the overflow field want to be bigger then the
>>first field?  Something the ends up looking like:
>>LABEL: texttexttextexttexttext
>>where LABEL is in one field and text... is in an oveflow block?
> Yeah.  I'd do that this way:
>     form '{<<<}: {<<<<<<<<<<<<…}',
>           $label, $text,
>          '{…<<<<<<<<<<<<<<<<<<…}',
>           $text,
> I think that works...  I only read E7 through once and quickly, so I'll
> have to double check that against Perl6::Form;

Expect wouldn't that produce a extra blank line if $text is short?  Or
do follow on blocks automatically do the perl 5 '~' thing?  Overflow
blocks as well?   Do we need a :option to control that.  What if I
want a follow-on or overflow block to not suppress extra blank lines?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About