tr是转写操作符,等效于 y.
tr///
$tmp = "909135790159"; print $tmp . "\n"; $tmp =~ tr/13579/24680/; print $tmp . "\n";
909135790159 000246800260