in reply to Once more, question about Formats
The reason that ~~ doesn't really work with formline() is explained in perlfunc:
formline PICTURE,LIST ... Note that a format typically does one `formline' per line of form, but the `formline' function itself doesn't care how many newlines are embedded in the PICTURE. This means that the `~' and `~~' tokens will treat the entire PICTURE as a single line. You may therefore need to use multiple formlines to implement a single record format, just like the format compiler. ...
--
John.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Once more, question about Formats
by ppm (Novice) on Feb 14, 2003 at 12:42 UTC | |
by Hofmator (Curate) on Feb 14, 2003 at 13:57 UTC |