[OT] golf
Rafael Garcia-Suarez
rgarciasuarez at gmail.com
Wed Mar 5 08:54:14 GMT 2008
On 05/03/2008, Nicholas Clark <nick at ccl4.org> wrote:
> Maybe we should call '???' the "Step 2" operator. As in:
>
> $ perl -MO=Deparse -e 'do {steal_underpants(); "Step 2"; } until profit()'
> do {
> steal_underpants();
> '???'
> } until profit();
> -e syntax OK
Ah you meant:
$ perl -MO=Deparse,-sv"'Step 2'". -0777lp015e0
BEGIN { $/ = "\r"; $\ = ""; }
LINE: while (defined($_ = <ARGV>)) {
chomp $_;
'Step 2';
}
continue {
print $_;
}
-e syntax OK
Who's the sick weirdo now, HUH ?
More information about the london.pm
mailing list