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

Re: World's Largest JAPH

Thread Previous
Ronald J Kimball
September 12, 2001 19:47
Re: World's Largest JAPH
Message ID:
On Thu, Sep 13, 2001 at 12:12:09PM +1000, 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.


P.S.  That's just sick.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About