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

[svn:parrot] r33700 - trunk/languages/perl6/src/classes

From:
particle
Date:
December 8, 2008 23:28
Subject:
[svn:parrot] r33700 - trunk/languages/perl6/src/classes
Message ID:
20081209072829.7E625CB9AF@x12.develooper.com
Author: particle
Date: Mon Dec  8 23:28:28 2008
New Revision: 33700

Modified:
   trunk/languages/perl6/src/classes/IO.pir

Log:
[rakudo] slurp('') becomes readall(); bacek++

Modified: trunk/languages/perl6/src/classes/IO.pir
==============================================================================
--- trunk/languages/perl6/src/classes/IO.pir	(original)
+++ trunk/languages/perl6/src/classes/IO.pir	Mon Dec  8 23:28:28 2008
@@ -101,7 +101,7 @@
 .sub 'slurp' :method
     .local pmc PIO
     PIO = getattribute self, "$!PIO"
-    $S0 = PIO.'slurp'('')
+    $S0 = PIO.'readall'()
     .return($S0)
 .end
 



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