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

Exegesis 7: Page Length

Thread Next
February 28, 2004 06:17
Exegesis 7: Page Length
Message ID:
The C<:page{:length}> sub-option (page 12) is described in the text as
having a default value of infinity but in a comment in the example above
of being 60.  How so?

Is that the text normally isn't split into pages at all (so effectively
giving a single page of infinite length), but as soon as C<:page> is set
to anything at all if C<:length> isn't set then a default of 60 is used?

Also, not strictly to do with formats but raised by the above, how is
infinity written in Perl 6 (for example, in C<:page{:length($x)}>
how could C<$x> be assigned to infinity)?


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