There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
If I created $*OUT as an object, then yes, I would prefer to call the method on it. I don't want to have to remember that I need a colon after it an object reference just because the Perl6 parser needs it to disambiguate between a multimethod and a multisub.
Personally, I always felt that print() (and friends) has a difficult syntax to work with, given that it is different than every other other CORE function. Frankly, if that syntax is important enough to you, you could just do something like (in Perl5 syntax):
Now, you treat it just like a regular function, if necessary. ------
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose In reply to Re: Re: Get rid of the Indirect Syntax, please!
by dragonchild
|
|