🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33573

Re: Perl filter article copy (Was: Re: INN and sockets)

#33573
From: Fluffy
Date: Sun, 06 Dec 1998 00:00
21 lines
1762 bytes
Silas Dunsmore <silasd@user.psyber.com> wrote:
> I did find a hook that could probably be made to do it, but it looks
> like more work than I'd want to do.
> 
> [from perlguts.pod]

{chomp magic stuff}

> So it would seem possible to create a copy-on-write of the buffer, and
> easier to just discard buffer changes entirely.
> 
> But working with "magic" variables is way over my head... I expect it'd
> need a Perl-XS guru.  Any takers?

It's not quite all as bad as it looks, and cleaner than what I had
been playing with here (using an xsub to kick an SV into existence).
Just having it happen by referring to the variable possesses a
sufficient coolness factor to make it worth the effort.


Technical Details
Message-ID: <slrn76l4h2.mvj.gerglery@meowhost.meow.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <745m4r$7np$1@meowhost.meow.invalid> <746l0n$9bj$1@meowhost.meow.invalid> <747k5t$57m$1@news.psyber.com> <747prt$auu$1@meowhost.meow.invalid> <74bc92$6f4$1@news.psyber.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn76l4h2.mvj.gerglery@meowhost.meow.invalid>
Subject: Re: Perl filter article copy (Was: Re: INN and sockets)
Date: Sun, 06 Dec 1998 00:00:00 +0000
From: gerglery@usa.net (Fluffy)
References: <745m4r$7np$1@meowhost.meow.invalid> <746l0n$9bj$1@meowhost.meow.invalid> <747k5t$57m$1@news.psyber.com> <747prt$auu$1@meowhost.meow.invalid> <74bc92$6f4$1@news.psyber.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 419299058
Mail-Copies-To: never
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!out2.ibm.net!meowhost.meow.invalid
X-Trace: mail2news.demon.co.uk 912953934 mail2news:23641 mail2news mail2news.demon.co.uk
Organization: If one may meow, all may meow.
X-URL: http://members.tripod.com/~gerglery/
X-P-Meow: Meow
Cancel-Lock: sha1:CqgJpO4401A8n1L0NTa4xmKVY9Y=
Newsgroups: news.software.nntp