Author: autrijus Date: Thu Apr 6 01:12:52 2006 New Revision: 8593 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S13.pod
Log: * S02/S13: s/casted/cast/, as suggested by Uri. Modified: doc/trunk/design/syn/S02.pod ============================================================================== --- doc/trunk/design/syn/S02.pod (original) +++ doc/trunk/design/syn/S02.pod Thu Apr 6 01:12:52 2006 @@ -500,11 +500,11 @@ =item * -In numeric context (i.e. when casted into C<Int> or C<Num>), a Hash object +In numeric context (i.e. when cast into C<Int> or C<Num>), a Hash object becomes the number of pairs contained in the hash. In a boolean context, a Hash object is true if there are any pairs in the hash. In either case, any intrinsic iterator would be reset. (If hashes do carry an intrinsic -iterator (as they do in Perl 5), there will be a C<.reset> method on the h +iterator (as they do in Perl 5), there will be a C<.reset> method on the hash object to reset the iterator explicitly.) =item * Modified: doc/trunk/design/syn/S13.pod ============================================================================== --- doc/trunk/design/syn/S13.pod (original) +++ doc/trunk/design/syn/S13.pod Thu Apr 6 01:12:52 2006 @@ -120,7 +120,7 @@ =head1 Type Casting A class can use the C<< *infix:<as> >> submethod to declare that its objects -can be casted to some other class: +can be cast to some other class: multi submethod *infix:<as> (IO) { $*OUT } multi submethod *infix:<as> (Int) { 1 }