develooper Front page | perl.fwp | Postings from September 2001

Re: World's Largest JAPH

Thread Previous
From:
Ronald J Kimball
Date:
September 12, 2001 19:47
Subject:
Re: World's Largest JAPH
Message ID:
20010912224712.A106420@linguist.thayer.dartmouth.edu
On Thu, Sep 13, 2001 at 12:12:09PM +1000, Andrew.Savige@ir.com wrote:
> The step 2 program uses a conversion module called Filth.
> I have no CPAN experience, and am open to suggestion, but
> this module might eventually become CPAN Convert::Filth (??).

I'd suggest Acme::Filth, to go with Acme::Bleach and Acme::Buffy.


> Interestingly, I had to change:
>   $x =~ s/\S/#/g;
> to
>   $x =~ tr/!-~/#/;
> because the former caused the generated Perl program to
> malfunction in strange ways. I guess because the whole
> program is running inside a regex, there are some
> limitations on what the source program can do.

Yes, Perl's regex engine is not re-entrant.  It can't execute a new regex in
the middle of executing another regex.


Ronald

P.S.  That's just sick.

Thread Previous


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