Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

[svn:perl6-synopsis] r14535 - doc/trunk/design/syn
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 *


Report this thread to moderator Post Follow-up to this message
Old Post
larry@cvs.perl.org
04-03-08 12:14 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL 6 Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 12:36 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.