home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!darwin.sura.net!wupost!cs.utexas.edu!sun-barr!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!nic!netlabs!lwall
- From: lwall@netlabs.com (Larry Wall)
- Newsgroups: comp.lang.perl
- Subject: Re: small clip problems
- Message-ID: <1992Jul24.183121.29243@netlabs.com>
- Date: 24 Jul 92 18:31:21 GMT
- References: <X920031.92Jul24112758@rubb.rz.ruhr-uni-bochum.de>
- Sender: news@netlabs.com
- Organization: NetLabs, Inc.
- Lines: 34
- Nntp-Posting-Host: scalpel.netlabs.com
-
- In article <X920031.92Jul24112758@rubb.rz.ruhr-uni-bochum.de> x920031@rubb.rz.ruhr-uni-bochum.de (Jost Krieger) writes:
- : I got clip running fine with perl 4.0.35 on a MIPS machine (I just had
- : to comment out the setpriority, because the last compile was in the
- : SYSV environment.)
- :
- : Now clip clips all the interesting stuff, and I'm interested in a lot
- : of things. Say python, the programming language/environment. So I write in my
- : .cliprc:
- :
- : &SCANNER(<<'END');
- : study;
- : &hit if /\b[Pp]ython/;
- : &hit if /\b[Pp]erl/;
- : &hit if /\balex\b/;
- : &hit if /\bWAIS\b/;
- : END
- :
- : among other things. Whoops, I got a lot of witty sayings from Monty Python.
- :
- : So I change to:
- :
- : if (/\b[Pp]ython/) {{
- : next if $` =~/Monty/;
- : &hit;
- : }}
- :
- : as the man page directs me. All clipping stops. Doesn't that trick
- : work any more in .35 ?
-
- It ought to work. Perhaps there's something weird about how perl was
- compiled. Maybe you should try compiling it back in the BSD environment
- and see if it makes any difference.
-
- Larry
-