develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35047 - trunk/docs/book

From:
Whiteknight
Date:
January 6, 2009 08:32
Subject:
[svn:parrot] r35047 - trunk/docs/book
Message ID:
20090106163223.C2858CB9F9@x12.develooper.com
Author: Whiteknight
Date: Tue Jan  6 08:32:22 2009
New Revision: 35047

Modified:
   trunk/docs/book/ch03_pir_basics.pod

Log:
[Book] Remove a mention of octal integers, which I don't think are supported, and add in binary

Modified: trunk/docs/book/ch03_pir_basics.pod
==============================================================================
--- trunk/docs/book/ch03_pir_basics.pod	(original)
+++ trunk/docs/book/ch03_pir_basics.pod	Tue Jan  6 08:32:22 2009
@@ -124,7 +124,7 @@
   $I0 = 42       # Integers are regular numeric constants
   $I1 = -1       # They can be negative or positive
   $I2 = 0xA5     # They can also be hexadecimal
-  $I3 = 046      # ...or octal
+  $I4 = 0b01010  # ...or binary
 
   $N0 = 3.14     # Numbers can have a decimal point
   $N1 = 4        # ...or they don't



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