Author: masak Date: 2009-01-08 07:15:11 +0100 (Thu, 08 Jan 2009) New Revision: 24806
Modified: docs/Perl6/Spec/S29-functions.pod Log: [S29] moved .perl and .warn from Object to Any. removed Object heading for now. Modified: docs/Perl6/Spec/S29-functions.pod =================================================================== --- docs/Perl6/Spec/S29-functions.pod 2009-01-08 06:11:11 UTC (rev 24805) +++ docs/Perl6/Spec/S29-functions.pod 2009-01-08 06:15:11 UTC (rev 24806) @@ -190,29 +190,6 @@ =head1 Function Packages -=head2 Object - -Every object conforms to the type C<Object>. The following methods are thusly -available on every object. - -=over - -=item perl - - 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 The following are defined in the C<Any> role: @@ -276,6 +253,20 @@ Returns C<True> if a the invocant an instance of class C<$type>, or of a subset type or a derived class (through inheritance) of C<$type>. +=item perl + + 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 Num