develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33977 - trunk

From:
kjs
Date:
December 16, 2008 11:38
Subject:
[svn:parrot] r33977 - trunk
Message ID:
20081216193845.CC064CBA12@x12.develooper.com
Author: kjs
Date: Tue Dec 16 11:38:45 2008
New Revision: 33977

Modified:
   trunk/DEPRECATED.pod

Log:
[DEPRECATED] 
+ deprecate 'slice' op
+ deprecate string indexing sugar mapping to substr opcode.

Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod	(original)
+++ trunk/DEPRECATED.pod	Tue Dec 16 11:38:45 2008
@@ -64,6 +64,12 @@
 
 These opcodes were only used by the old MMD system. See TT #7.
 
+=item * C<slice> [post 0.8.2]
+
+The C<slice> opcode's implementation is experimental. Its use cases and
+implementation should be reconsidered. The current implementation will
+be removed.
+
 =back
 
 =head1 Class Features
@@ -86,6 +92,14 @@
 
 =over 4
 
+=item * String indexing [post 0.8.2]
+
+String indexing sugar is deprecated. This means you can no longer write
+
+  $S0[1]
+
+to mean substr, $S0, 1, 1. Use the C<substr> op instead.
+
 =item * C<.namespace [ "a" .. "b" ]> [post 0.5.0]
 
 See RT #46715.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About