develooper Front page | perl.perl6.language | Postings from May 2005

Re: C<::> in rules

Thread Previous | Thread Next
Markus Laire
May 13, 2005 01:45
Re: C<::> in rules
Message ID:
TSa (Thomas SandlaƟ) kirjoitti:
> Larry Wall wrote:
>> Speaking of which, it seems to me that :p and :c should allow an
>> argument that says where to start relative to the current position.
>> In other words, :p means :p(0) and :c means :c(0).  I could also see
>> uses for :p(-1) and :p(+1).
> Isn't that slightly inconsistent with :p meaning :p(1) the so-called
> "real winner for passing boolean options" of A12?

Perhaps spec should be changed so that :p means :p(bool::true) or :p(?1) 
and not :p(1)

Markus Laire
<Jam. 1:5-6>

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