in reply to Re^4: nested <FILE> read returns undefined?
in thread nested <FILE> read returns undefined?
I don't think there is a right/wrong way of doing things in this case, just the way a particular language (version) does it. Perl 6 is a very different beast from Perl 5 and I'd guess that what duff describes works because Perl 6 is able to lazily evaluate some things that Perl 5 can't (that's just an uninformed guess though and may be wrong).
Just a note on the documentation though, the Camel is a great book and invaluable when learning and programming Perl. But it is not AFAIK the reference documentation for Perl, that is in the perldocs and you're really missing out if you don't read those.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: nested <FILE> read returns undefined?
by argv (Pilgrim) on Apr 01, 2006 at 18:56 UTC |