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 @{[]} but I don't know f it has a name.

Usage: print "splatt @{[ ... ]} pow"
where ... is any valid expression, and the result list is join()ed with $"
(space).

-- 
 Philippe "BooK" Bruhat

 There are two sides to every cause. Do not join one until you know the other.
                                   (Moral from Groo The Wanderer #105 (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.