Jerome Quelin <[EMAIL PROTECTED]> writes:
> Hi,
>
> The O module is very interesting, and the -MO=Deparse option helps a lot in
> golf tournaments.
> Since it's quite hard to reduce your golf score given a hole, I propose the
> creation of a new Golf option for the O module. This way, one can write:
> $ perl -MO=Golf -e 'while ( <> ) { s/foo/bar/g; print $_; }'
>
> And perl would output:
> perl -pe 's/foo/bar/g'
>
> which is way shorter.
> This option should of course work for big input files. <:o)
I think you missed a chance. You should have done a full announcement
of that module on the 1st of this month.
--
Piers
"It is a truth universally acknowledged that a language in
possession of a rich syntax must be in need of a rewrite."
-- Jane Austen?