Article View: news.software.nntp
Article #21209Re: Help with Perl hooks on INN 1.5.1, please
From: Stan A. Rogge
Date: Tue, 02 Sep 1997 00:00
Date: Tue, 02 Sep 1997 00:00
18 lines
1294 bytes
1294 bytes
Perl 5 does not use dbmopen and dbmclose. It uses tie and untie. Also, you must define the type dbm you are using. Here is an example: use SDBM_File; tie(%SITES, SDBM_File, $config_file, O_RDWR | O_CREAT, 0660); untie %SITES; $config_file is the base name of the dbm filename. %SITES is the associative array name Get thee a perl5 book. Xref: news.mr.net tw.bbs.rec.model:6740 s Analyst) srogge@telsarpc.harmonic.com Harmonic System Incorporated, 701 Fourth Avenue South, Suite 320, Minneapolis MN 55415 Telephone: 612-321-4060 Fax- 612-672-3549 Web: http://www.telsarpc.harmonic.com FTP: ftp://telsarpc.harmonic.com
Technical Details
Message-ID:
<01bcb753$2df794a0$fc01fd0a@telsarlt.harmonic.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<EF43vy.5D7@cf.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <01bcb753$2df794a0$fc01fd0a@telsarlt.harmonic.com> Subject: Re: Help with Perl hooks on INN 1.5.1, please Date: Tue, 02 Sep 1997 00:00:00 +0000 From: "Stan A. Rogge" <srogge@telsarpc.harmonic.com> References: <EF43vy.5D7@cf.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 269475097 Organization: Harmonic Systems Incorporated, Minneapolis MN Newsgroups: news.software.nntp,comp.lang.perl.misc