Code Comments
Programming Forum and web based access to our favorite programming groups.Author: larry
Date: Wed Apr 2 09:49:48 2008
New Revision: 14535
Modified:
doc/trunk/design/syn/S02.pod
Log:
Another fix suggested by John M. Dlugosz++, whose name I can almost spell no
w.
Modified: doc/trunk/design/syn/S02.pod
========================================
====================================
==
--- doc/trunk/design/syn/S02.pod (original)
+++ doc/trunk/design/syn/S02.pod Wed Apr 2 09:49:48 2008
@@ -1356,10 +1356,14 @@
Subscripts now consistently dereference the container produced by
whatever was to their left. Whitespace is not allowed between a
-variable name and its subscript. However, there is a corresponding
-B<dot> form of each subscript (C<@foo.[1]> and C<%bar.{'a'}> ). Constant
-string subscripts may be placed in angles, so C<%bar.{'a'}> may also
-be written as C<< %bar<a> >> or C<< %bar.<a> >>.
+variable name and its subscript. However, there are two ways to
+stretch the construct out visually. Since a subscript is a kind
+of postfix operator, there is a corresponding B<dot> form of each
+subscript (C<@foo.[1]> and C<%bar.{'a'}> ) that makes the dereference
+a little more explicit. Constant string subscripts may be placed
+in angles, so C<%bar.{'a'}> may also be written as C<< %bar<a> >>
+or C<< %bar.<a> >>. Additionally, you may insert extra whitespace
+using the unspace.
=item *
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.