ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
Re: Custom iterators
by Bart Lateur other posts by this author
Oct 3 2001 12:26AM messages near this date
Re: Custom iterators | Re: Custom iterators
On Tue, 25 Sep 2001 12:42:43 -0400, Michael G Schwern wrote:

> Or how about character by character?

> 

>     File.each_byte($filename) {

>         print

>     }

> 

> Backwards?

> 

>     File.read_backwards($filename) {

>         print

>     }


[in an earlier post:]

>     foreach_line { print } 'some/file';



You really like underscores, do you?

-- 
	Bart.


Thread:
Michael G Schwern
Piers Cawley
Michael G Schwern
Bart Lateur
Michael G Schwern
Bart Lateur
Michael G Schwern
Uri Guttman
Michael G Schwern
Brent Dax
Bryan C. Warnock
Michael G Schwern

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved