Re:With the Rise of DevOps, Perl Shows Its Muscle
by yellowapple on Monday January 09, 2017 @03:28AM
(#13354860)
Guilty as charged :)
I've been working on a lexer/parser/interpreter/compiler/whatever for a pet programming language project, and in the process of trying to figure out how to keep track of line numbers in the source files I'm parsing, I inadvertently discovered that Perl already tracks that for me (in "$."). Who knew?
(I mean, Larry Wall obviously knew, of course, but whatever.)
I've been working on a lexer/parser/interpreter/compiler/whatever for a pet programming language project, and in the process of trying to figure out how to keep track of line numbers in the source files I'm parsing, I inadvertently discovered that Perl already tracks that for me (in "$."). Who knew?
(I mean, Larry Wall obviously knew, of course, but whatever.)