Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Name the secret operator

3 views
Skip to first unread message

Philippe Bruhat

unread,
Mar 19, 2008, 8:28:25 PM3/19/08
to Fun with Perl
Hi,

while doing some research for a talk on Perl secret operators, I tried
to find who first coined the term "secret operator".

I found a post from Greg Allen on February 2004 on this very list
(http://groups.google.com/group/perl.fwp/msg/e62668a760de1652),
and then a post by Abigail on comp.lang.perl.misc on January 2003
(http://groups.google.com/group/comp.lang.perl.misc/msg/22cfcd81a1521ec4).

Does anyone know of an earlier occurence of the term?


Now that I have seen Abigail's post on clpm, I want to know its name.
It is the longest secret operator I've seen, and also the only one
that must be on three lines (not counting the content).

<<m=~m>>
(commented out code and pod goes here)
m
;

I have a few ideas for names, but they don't fit very well, and do not
describe the "m\n;" part of the operator.

--
Philippe Bruhat (BooK)

Putting beauty before brains is the surest way to wind up with neither.
(Moral from Groo The Wanderer #24 (Epic))

Michael G Schwern

unread,
Mar 20, 2008, 3:31:47 PM3/20/08
to Philippe Bruhat (BooK), Fun with Perl
Philippe Bruhat (BooK) wrote:
> Hi,
>
> while doing some research for a talk on Perl secret operators, I tried
> to find who first coined the term "secret operator".
>
> I found a post from Greg Allen on February 2004 on this very list
> (http://groups.google.com/group/perl.fwp/msg/e62668a760de1652),
> and then a post by Abigail on comp.lang.perl.misc on January 2003
> (http://groups.google.com/group/comp.lang.perl.misc/msg/22cfcd81a1521ec4).
>
> Does anyone know of an earlier occurence of the term?

Simon Cozens uses the term "double-secret operator" (a reference to Animal
House) in a perl.com article on June 6, 2003. But it's not really an
FWP-style secret operator and it's after Abigail anyway.
http://www.perl.com/pub/a/2003/06/06/regexps.html


--
Stabbing you in the face for your own good.

0 new messages