develooper Front page | perl.perl5.porters | Postings from August 2008

Re: Fighting the Good Fight against spam deluge

From:
Johan Vromans
Date:
August 4, 2008 12:03
Subject:
Re: Fighting the Good Fight against spam deluge
Message ID:
m2fxpktxh8.fsf@phoenix.squirrel.nl
Tom Christiansen <tchrist@perl.com> writes:

> I wonder if people just want to be able to add
> 
>     perl -MSome::Module -pe  '....'
> 
> and get (or not get) the special processing.

I don't think so. At least, not with a lot of trickery.
The <> handling and magic is deeply tied into perl. It concerns <>,
ARGV, $ARGV, ARGVOUT, eof and eof(). To replace all this (often
strange and undocumented) functionality with the simple use of a
module would be, eh, real magic.

For the time being, I've given up on this traject.

-- Johan



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About