#!/usr/bin/perl my $text = "ABCCBAABCCBA"; my $hash = { A => 'W', B => 'R', C => 'T', }; $text2 = join "", map { $hash->{$_} } split //, $text; print "[$text]\n"; print "[$text2]\n";
In reply to Re: char. VS char.
by Rhandom
in thread char. VS char.
by Summers_Azin_pr0n
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |