Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bfmny0!tneff From: tneff@bfmny0.BFM.COM (Tom Neff) Newsgroups: comp.lang.perl Subject: Re: wishlist: current line number variable Message-ID: <15690@bfmny0.BFM.COM> Date: 20 Jul 90 09:05:23 GMT References: <1131@etnibsd.UUCP> <8812@jpl-devvax.JPL.NASA.GOV> Reply-To: tneff@bfmny0.BFM.COM (Tom Neff) Lines: 13 In article <8812@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: >Oh, now that I think of it, I guess you could always use -P and get the >C preprocessor to translate __LINE__ and __FILE__ for you. But I'll >add __LINE__ and __FILE__ to the Perl tokener. This is definitely a nice idea, and the right way to do it too. A lot of us could use this feature. While you're at it, could you make __STDPERL__ evaluate to constant 1? :-) -- "We plan absentee ownership. I'll stick to `o' Tom Neff building ships." -- George Steinbrenner, 1973 o"o tneff@bfmny0.BFM.COM