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

[svn:parrot] r34639 - trunk/docs/user/pir

From:
bernhard
Date:
December 30, 2008 04:47
Subject:
[svn:parrot] r34639 - trunk/docs/user/pir
Message ID:
20081230124741.EC924CB9FA@x12.develooper.com
Author: bernhard
Date: Tue Dec 30 04:47:41 2008
New Revision: 34639

Modified:
   trunk/docs/user/pir/pp003-oop.pod

Log:
[docs] use 'say' instead of 'print' in two code examples


Modified: trunk/docs/user/pir/pp003-oop.pod
==============================================================================
--- trunk/docs/user/pir/pp003-oop.pod	(original)
+++ trunk/docs/user/pir/pp003-oop.pod	Tue Dec 30 04:47:41 2008
@@ -40,13 +40,13 @@
     .namespace [ "Person" ]
 
     .sub run
-        print "Run Forrest, Run!\n"
+        say "Run Forrest, Run!"
     .end
 
     .namespace [ "Process" ]
 
     .sub run
-        print "Running process #53\n"
+        say "Running process #53"
     .end
 
 As you might guess, the C<.namespace> directive tells Parrot



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