home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sunic!seunet!enea!sommar
- From: sommar@enea.se (Erland Sommarskog)
- Newsgroups: comp.lang.perl
- Subject: Re: Dynamic grepping
- Message-ID: <1992Dec24.235537.10028@enea.se>
- Date: 24 Dec 92 23:55:37 GMT
- References: <1992Dec23.155457.15647@rchland.ibm.com> <1992Dec24.124843.5926@cs.ruu.nl>
- Organization: Enea Data AB
- Lines: 14
-
- Piet van Oostrum (piet@cs.ruu.nl) writes:
- >>>>>> cwalker@rchland.vnet.ibm.com (Cary Walker) (CW) writes:
- >CW> unshift(@checkstrs, "1111foo222");
- >CW> unshift(@checkstrs, "foofoo");
- >CW> $grepstr="\d";
- >
- >Make that $grepstr="\\d";
-
- Or better $grepstr = '\d';
-
- No reason to double a backslash when you don't need to.
- --
- Erland Sommarskog - ENEA Data, Stockholm - sommar@enea.se
- Jag gav en k{ck tjeck en check.
-