Re: Exegesis 7: Overflow Fields

2004-02-29 Thread Damian Conway
Mark A. Biggar wrote: What if I want to interpolate an empty string and let the fill characters work? Then you interpolate a single fill character instead of the empty string. Damian

Re: Exegesis 7: Overflow Fields

2004-02-29 Thread Mark A. Biggar
Damian Conway wrote: Mark A. Biggar wrote: What if I want to interpolate an empty string and let the fill characters work? Then you interpolate a single fill character instead of the empty string. But that means I have to pre-process data lists that just happen to contain empty strings so

Re: Exegesis 7: Overflow Fields

2004-02-29 Thread Damian Conway
But that means I have to pre-process data lists that just happen to contain empty strings so that they won't disappear on me. Huh? An empty string already *has* disappeared on you. ;-) This seems to violate least surprise. I'd be much more surprised if an empty string *didn't* disappear. After

Re: Exegesis 7: Overflow Fields

2004-02-29 Thread Damian Conway
I also don't expect $x = ''; $y = $x ; to assign '' to $y either, but that's the equlvalent of what you say form() will do. I see your point. I was more worried about arrays of items some of which are empty strings and having items disappear out my repost because form() throws them

Exegesis 7: Overflow Fields

2004-02-28 Thread Gregor N. Purdy
In And now at length they overflow their banks. its not clear how an overflow field gets tied to its initial non-overflow field. In the recipe example given, how does it know to go with the $method field instead of the $prep_time field? Is it basing off of matching the horizontal extent of the

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Gregor N. Purdy
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

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Larry Wall
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,

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Damian Conway
Gregor N. Purdy wrote: 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,

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Mark A. Biggar
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

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Luke Palmer
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

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Mark A. Biggar
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

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Damian Conway
Luke Palmer wrote: Arn't there cases where the overflow field want to be bigger then the first field? Something the ends up looking like: LABEL: texttexttextexttexttext texttextexttextetexttexttextte xttexttexttexttexttexttextttex where LABEL is in one field and text... is in an oveflow block?

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Damian Conway
Mark A. Biggar wrote: Expect wouldn't that produce a extra blank line if $text is short? Nope. Formats only generate text lines if at least one of their fields interpolates at least one character. Damian

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Mark A. Biggar
Damian Conway wrote: Mark A. Biggar wrote: Expect wouldn't that produce a extra blank line if $text is short? Nope. Formats only generate text lines if at least one of their fields interpolates at least one character. Damian What if I want to interpolate an empty string and let the fill