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

Re: ./method

Thread Previous | Thread Next
From:
Brad Bowman
Date:
May 15, 2005 16:57
Subject:
Re: ./method
Message ID:
1116201414.2489.40.camel@oxum
> :     ../method
> : 
> : to mean $?SELF.SUPER::method, or however that's normally written.
> 
> That's almost terminally cute, but I like it.  Unless someone can
> think of a major objection (such as that it makes it too easy to use
> SUPER semantics rather than NEXT semantics), let's go with it.

Would it conflict with range + pattern?  Or has that changed anyway?

  perl -nle 'print if (1../pattern./)'

This isn't an objection, just a query.

Brad

-- 
 That one's own district is unsophisticated and unpolished is a great
 treasure. Imitating another style is simply a sham. 
   -- Hagakure http://bereft.net/hagakure/


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