Author: masak Date: 2009-01-08 07:11:11 +0100 (Thu, 08 Jan 2009) New Revision: 24805
Modified: docs/Perl6/Spec/S29-functions.pod Log: [S29] multiple changes: * added Object.warn (to be moved in the next commit to Any) * added invocant colon to Object.perl (to be moved in the next commit to Any) * added `is export` to Object.perl Modified: docs/Perl6/Spec/S29-functions.pod =================================================================== --- docs/Perl6/Spec/S29-functions.pod 2009-01-08 05:10:02 UTC (rev 24804) +++ docs/Perl6/Spec/S29-functions.pod 2009-01-08 06:11:11 UTC (rev 24805) @@ -199,11 +199,18 @@ =item perl - our Str multi method perl (Object $o) + our Str multi method perl ( Object $o: ) is export Returns a perlish representation of the object, so that calling C<eval> on the returned string reproduces the object as accurately as possible. +=item warn + + our multi method warn ( Object $o: ) is export + +Prints a warning to C<$*DEFERR>, which is usually bound to C<$*ERR>. See +C<Synopsis 16: IPC / IO / Signals> for details. + =back =head2 Any