- or download this
s,$/,,g,
eval
- or download this
$|--;
print join $",
map {
...
}
@_[$|--..$^F+$|]
} -> ()
- or download this
$|--; - or download this
split "\n", join '', <DATA>; - or download this
unshift @_, map { $. = (length) - $|--; $_ } shift; - or download this
{
undef @bins;
map @{[ push @{ $bins[ ord( (/.{$.}(.)/)[$|] ) ] }, $_ ]}, @_;
@_ = map @$_, @bins;
$.-- && redo
}
- or download this
$bins[ ord('l') ] = [ 'uhinbyl' ];
$bins[ ord('v') ] = [ 'zobxiiv' ];
$bins[ 0 ] = [ 'xqsauh', 'zozmib', 'xtbemz', 'ujwq', 'xzaf', 'ufde' ];
- or download this
map {
y/ //d; # delete spaces. None of the words have any,
+so no-op.
...
# $. ended up with the value -1. Here it beco
+mes 3
$_
}
- or download this
map {
$_{$_} = $a++; # %_ hash becomes
...
$.++; # 4 more increments leaves $. set to 7
$_
}
- or download this
map {
$_[$_{$_}] = # $_{$_} is the hash value that was
...
...
} -> ($_{$_}, $_) # hash {$_}, $_ = (value, key) pair
}
- or download this
$_[0] = sub { ... } -> (0, 'ufde')
$_[1] = sub { ... } -> (1, 'uhinbyl')
$_[2] = sub { ... } -> (2, 'ujwq')
$_[3] = sub { ... } -> (3, 'xqsauh')
- or download this
join '',
map {
...
$_ += 26 while $_ < 93;
chr
}