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

Re: ./method

Thread Previous | Thread Next
From:
Rob Kinyon
Date:
May 15, 2005 17:30
Subject:
Re: ./method
Message ID:
7038442050515173035b625a0@mail.gmail.com
On 5/15/05, Juerd <juerd@convolution.nl> wrote:
> Brad Bowman skribis 2005-05-16  9:56 (+1000):
> > Would it conflict with range + pattern?  Or has that changed anyway?
> 
> No, "./" and "../" are prefix only, so they cannot clash with an infix
> operator like "..".

How would

    print "Foo" while $self../method;

parse? What does the parser do when it sees "../"? I know what it will
do when it sees that ../method terminates the condition. But, will it
backtrack?

Rob

Thread Previous | 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