RE: [SPOILER] Perl Quiz of the Week #24 (Turing Machine simulation)
"Jurgen Pletinckx" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.qotw.discuss |
|---|---|
| Message-ID | <[email protected]> |
# for (<PROG>) {
#
# reads in the entire file before starting the loop. You should use:
#
# while (<PROG>) {
#
# instead.
Right-o. And it's not like this is the first time I've
conflated for and while. I really ought to learn the
difference.
Regarding lama features: I've been meaning to ask - what
are they, actually? (I don't currently own 'Learning Perl').
No references (or multi-level data structures), no tie,
no autoload, no eval, ...
Are modules ok? Implicit variables? map/grep/...? Non-trivial
regexen?
--
Jurgen Pletinckx
AlgoNomics NV