use 5.010; use utf8::all; my $string = q[\334ber@n\374ber.com]; $string =~ s/\\([0-7]+)/chr oct $1/eg; say $string;
In reply to Re: How can I safely unescape a string.
by tobyink
in thread How can I safely unescape a string.
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |