Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!bu.edu!nntp-read!jbw From: jbw@bigbird.bu.edu (Joe Wells) Newsgroups: comp.lang.perl Subject: underscores in numeric constants (was: how to truncate lines) Message-ID: Date: 22 Feb 91 17:59:57 GMT References: <1991Feb18.205238.14418@dartvax.dartmouth.edu> <1991Feb19.014649.133@mudos.ann-arbor.mi.us> <11500@jpl-devvax.JPL.NASA.GOV> Sender: news@bu.edu.bu.edu Distribution: usa Organization: Boston University Computer Science Department Lines: 13 In-reply-to: lwall@jpl-devvax.JPL.NASA.GOV's message of 19 Feb 91 22:19:47 GMT lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: perl -e 'print "*" x 1_000_000, "\n"' | perl -pe 'chop; $_=substr($_,0,80)."\n"' ^ ^ How long has this been in the language? (The ability to put as many underscores as you want in the middle of a numeric constant.) When was it added? ?????? -- Joe Wells