I'm about to add C<warn> to S29. Found this in S16: ] =item warn LIST ] ] =item Str.warn ] ] Prints a warning just like Perl 5, except that it is always sent to ] the object in $*DEFERR, which is just standard error ($*ERR).
First off, shouldn't that be C<Object.warn> or something similar? I suppose strings will be the most likely receivers of C<.warn> calls, but C<.print>, C<.say> and C<.printf> all reside in C<Object>... Second, is there a heartfelt need for the method form? My first thought upon seeing it was "no! why?". There's such a thing as taking OO too far. // Carl