home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!world!ora.com!minya!jc
- From: jc@minya.UUCP (John Chambers)
- Newsgroups: comp.lang.perl
- Subject: Re: locsym - First major upgrade ;-)
- Message-ID: <1349@minya.UUCP>
- Date: 28 Aug 92 19:57:47 GMT
- References: <1992Aug.202757.7799@abigale.uucp>
- Lines: 25
-
- Marvelous little program! Much better than the clumsy sh tool that
- I've been using. I'll keep my old one around for use on systems where
- I can't sneak perl in, but locsym is definitely better, even if it
- does get its speed by using a chunk of disk.
-
- There was, however, one very curious "bug" in both of the versions, as
- they reached here. They contained the line:
-
- X if (/^.*\s+[ATDS]\s+([^_.].*)/o) { $symbol = $1 };
-
- The perl here rejected this because the sequence of tokens "$1 }" is
- not legal. I changed the last two chars to ";}" and it worked just
- fine. It was a bit of a surprise that version 2 had the same problem.
-
- Is this legal syntax in some later patch that I don't have? The perl
- here probably isn't up to date, but I've never even seen this syntax
- before, or any hint that it might actually be legal. Or did perhaps
- some demented mailer along the path munge just these two bytes? This
- is one of the weirder problems that I've seen in all my years of being
- a computer weenie ...
-
- | This is perl, version 4.0
- | $RCSfile: perl.c,v $$Revision: 4.0.1.4 $$Date: 91/06/10 01:23:07 $
- | Patch level: 10
-
-