But I recently read this on irc:

2009-03-12
23:16 pugs_svn r25809 | lwall++ | This decrease in consistency on the syntactic level is offset by an 23:16 pugs_svn r25809 | lwall++ | increase in consistency on the semantic level, as suggested by rouso++. 23:16 pugs_svn r25809 | lwall++ | (We'd already gotten rid of the dot forms of adverbs some time ago, 23:16 pugs_svn r25809 | lwall++ | for similar reasons. We just didn't quite carry the idea through.)

and then read this:

S03 Changes to Perl5 Operators
...

   if $filename ~~ :e { say "exists" }

is the same as

   if $filename.e { say "exists" }

The 1st form actually translates to the latter form, so the object's class decides how to dispatch methods.


Is there an inconsistency here?

Reply via email to