Author: coke
Date: Fri Jan  2 08:18:11 2009
New Revision: 34818

Modified:
   trunk/examples/io/async_select.pir

Log:
The pir sugar for substr was removed;
Example still broken due to changes on FileHandle from ParrotIO.



Modified: trunk/examples/io/async_select.pir
==============================================================================
--- trunk/examples/io/async_select.pir  (original)
+++ trunk/examples/io/async_select.pir  Fri Jan  2 08:18:11 2009
@@ -40,7 +40,7 @@
     # the IO event is inactive, after it fired, just reattach always
     # add_io_event pio, handler, data, .IO_THR_MSG_ADD_SELECT_RD
     sleep 0.2
-    $S0 = idles[i]
+    $S0 = substr idles, i, 1
     inc i
     $I0 = length idles
     i %= $I0

Reply via email to