Front page | perl.fwp |
Postings from February 2005
Re: "Secret" operators
Thread Previous
|
Thread Next
From:
philippe.bruhat
Date:
February 1, 2005 06:59
Subject:
Re: "Secret" operators
Message ID:
20050201145733.GA4132@localhost.localdomain
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))
Thread Previous
|
Thread Next