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

Exegesis 7: Page Length

Thread Next
From:
Smylers
Date:
February 28, 2004 06:17
Subject:
Exegesis 7: Page Length
Message ID:
20040228141705.GB2582@stripey.com
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)?

Smylers

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About