Re: "Secret" operators

[email protected] ((Philippe 'BooK' Bruhat))
Newsgroups perl.fwp
Message-ID <[email protected]>
Le mardi 01 février 2005 à 11:49, José Castro écrivait:
> Hi, guys.
> 
> Apart from the "secret eskimo greeting" and the "goatse operator", can
> anyone tell me about other "secret" operators?
> 
> Examples:
> 
> eskimo:   }{
> goatse:   =()=
> 
> eskimo usage:   perl -ne '}{print $.'
> goatse usage:   perl -e '$_="zbrughau";$b=()=/u/g;print $b'
> 

There's also the golf version of scalar(): ~~

Usage: perl -e 'print~~gmtime'

I'd call it the "spit" operator (based on my understanding of the :P~
smiley), but maybe it already has a name.

-- 
 Philippe "BooK" Bruhat

 Solve a problem before you become part of it.
                                    (Moral from Groo The Wanderer #60 (Epic))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.