in reply to (jeffa) Re: Closures as Itterators
in thread Closures as Itterators
The loop construct, however, is a bit strained. I don't really want to clobber $_, but I do like:
Much better than:while(chomp($row = <$fh>)) {
I have Damians book, but only made it about half way through before losing the thread. I don't do much OO programming, so I didn't have many concrete examples to toy with while reading the book. It was very well written though, got much further than any other OO book I've tried.while(1) { chomp($row = <$fh>) or last;
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (jeffa) Re: Closures as Itterators
by dragonchild (Archbishop) on Jul 02, 2001 at 21:33 UTC | |
by blakem (Monsignor) on Jul 02, 2001 at 22:48 UTC | |
by dragonchild (Archbishop) on Jul 02, 2001 at 23:30 UTC | |
by blakem (Monsignor) on Jul 02, 2001 at 23:49 UTC |