#!/usr/bin/perl use strict; my $a = qq{}; my $b = qq{<√>}; print "Old word: $a\n"; $a =~ s/$a/$b/; print "New word: $a\n";