Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!apple!voder!pyramid!unify!jwc From: jwc@unify.uucp (J. William Claypool) Newsgroups: comp.lang.perl Subject: Re: dbm and news history Message-ID: Date: 15 Mar 90 19:41:24 GMT References: <1990Mar11.130242.11596@pegasus.com> <7383@jpl-devvax.JPL.NASA.GOV> Reply-To: jwc@unify.UUCP (J. William Claypool) Organization: Unify Corporation, Sacramento, CA, USA Lines: 16 In article <7383@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: >In article <1990Mar11.130242.11596@pegasus.com> richard@pegasus.com (Richard Foulk) writes: >: I'm having a little trouble figuring out just how to use the dbm stuff >: in perl. Can someone give me an example of how to find an entry in >: /usr/lib/news/history given the usual key (e.g. <123@xyz.UUCP>), >: assuming the usual multi-megabyte history{,.pag} files? >or some such, depending on your news system. For a longer example see the >refetch script I posted a while back. Of course, if you built cnews with dbz all bets are off. -- Bill Claypool +1 916 920 9092 | I know what I know if you know what I mean jwc@unify.UUCP |-------------------------------------------- ...!{csusac,pyramid}!unify!jwc | SCCA SFR Solo II 74 es 1984 CRX 1.5