y是来自 UNIX 的转写操作符sed行编辑器,等同于 tr.
y///
$tmp = "909135790159"; print $tmp . "\n"; $tmp =~ y/13579/24680/; print $tmp . "\n";
909135790159 000246800260